com.volcengine.model.acep.InstallAppBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
package com.volcengine.model.acep;
import com.alibaba.fastjson.JSON;
import java.util.List;
/**
* InstallAppBody
*/
@lombok.Data
public final class InstallAppBody {
/**
* 应用 ID,可通过调用 [ListApp](https://www.volcengine.com/docs/6394/1226894) 接口获取。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "AppId")
private String appId;
/**
* 应用版本 ID,可通过调用 [ListApp](https://www.volcengine.com/docs/6394/1226894) 接口获取。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "VersionId")
private String versionId;
/**
* 业务 ID。
*
*
*
* :::tip
*
* 如不指定 `PodIdList` 及 `TagIdList`,则安装应用到业务下的所有实例。
*
* :::
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ProductId")
private String productId;
/**
* 指定实例 ID 列表进行应用安装。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "PodIdList")
private List podIdList;
/**
* 指定标签 ID 列表进行应用安装。可通过 [ListTag](https://www.volcengine.com/docs/6394/1221497) 获取。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "TagIdList")
private List tagIdList;
/**
* 应用安装类型:
*
*
*
* - `0`:(默认)机身存储独立安装(非共享)
*
* - `1`:共享安装
*/
@com.alibaba.fastjson.annotation.JSONField(name = "InstallType")
private Integer installType;
/**
* 镜像存储路径, 和ImageId共同使用
*/
@com.alibaba.fastjson.annotation.JSONField(name = "AbsolutePath")
private String absolutePath;
/**
* 应用镜像ID
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ImageId")
private String imageId;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy