-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
33b397c
commit 1cb499c
Showing
13 changed files
with
76 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
44 changes: 44 additions & 0 deletions
44
src/main/java/com/yohann/ocihelper/bean/params/CreateInstanceBatchParams.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
package com.yohann.ocihelper.bean.params; | ||
|
||
import lombok.Data; | ||
|
||
import javax.validation.constraints.NotBlank; | ||
import javax.validation.constraints.NotEmpty; | ||
import javax.validation.constraints.NotNull; | ||
import java.util.List; | ||
|
||
/** | ||
* @projectName: oci-helper | ||
* @package: com.yohann.ocihelper.bean.params | ||
* @className: CreateInstanceBatchParams | ||
* @author: Yohann | ||
* @date: 2024/11/16 0:04 | ||
*/ | ||
@Data | ||
public class CreateInstanceBatchParams { | ||
|
||
@NotEmpty(message = "用户配置id列表不能为空") | ||
private List<String> userIds; | ||
|
||
private InstanceInfo instanceInfo; | ||
|
||
@Data | ||
public static class InstanceInfo { | ||
@NotBlank(message = "CPU不能为空") | ||
private String ocpus; | ||
@NotBlank(message = "内存不能为空") | ||
private String memory; | ||
@NotBlank(message = "磁盘空间不能为空") | ||
private String disk; | ||
@NotBlank(message = "系统架构不能为空") | ||
private String architecture; | ||
@NotNull(message = "时间间隔不能为空") | ||
private Integer interval; | ||
@NotNull(message = "创建数目不能为空") | ||
private Integer createNumbers; | ||
@NotNull(message = "系统类型不能为空") | ||
private String operationSystem; | ||
@NotNull(message = "root密码不能为空") | ||
private String rootPassword; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>oci-helper</title><script defer="defer" src="/js/chunk-vendors.7cf7f0ca.js"></script><script defer="defer" src="/js/app.39604cf9.js"></script><link href="/css/chunk-vendors.ddc93c7c.css" rel="stylesheet"><link href="/css/app.c1dc950f.css" rel="stylesheet"></head><body><div id="app"></div></body></html> | ||
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>oci-helper</title><script defer="defer" src="/js/chunk-vendors.079fba90.js"></script><script defer="defer" src="/js/app.ffa9df77.js"></script><link href="/css/chunk-vendors.ddc93c7c.css" rel="stylesheet"><link href="/css/app.c1dc950f.css" rel="stylesheet"></head><body><div id="app"></div></body></html> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...sources/dist/js/chunk-vendors.7cf7f0ca.js → ...sources/dist/js/chunk-vendors.079fba90.js
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...ces/dist/js/chunk-vendors.7cf7f0ca.js.map → ...ces/dist/js/chunk-vendors.079fba90.js.map
Large diffs are not rendered by default.
Oops, something went wrong.