@nocobase/plugin-verification
Version:
User identity verification management, including SMS, TOTP authenticator, with extensibility.
3,109 lines (3,108 loc) • 121 kB
TypeScript
/**
* DescribeApplicationYaml返回参数结构体
*/
export interface DescribeApplicationYamlResponse {
/**
* base64 后的yaml
注意:此字段可能返回 null,表示取不到有效值。
*/
Yaml: string;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* 操作日志状态查询条件
*/
export interface OperationLogsCondition {
/**
* 状态列表
注意:此字段可能返回 null,表示取不到有效值。
*/
Status?: Array<number | bigint>;
}
/**
* RedeployEdgeUnitApplication返回参数结构体
*/
export interface RedeployEdgeUnitApplicationResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* CreateEdgeUnitCloud返回参数结构体
*/
export interface CreateEdgeUnitCloudResponse {
/**
* tke集群ID
注意:此字段可能返回 null,表示取不到有效值。
*/
ClusterId: string;
/**
* IECP集群ID
注意:此字段可能返回 null,表示取不到有效值。
*/
EdgeUnitId: number;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* ModifyEdgeUnitApplicationBasicInfo请求参数结构体
*/
export interface ModifyEdgeUnitApplicationBasicInfoRequest {
/**
* 应用基本信息
*/
BasicInfo: ApplicationBasicInfo;
/**
* 单元ID
*/
EdgeUnitId?: number;
/**
* 应用ID
*/
ApplicationId?: number;
}
/**
* CreateEdgeNodeGroup请求参数结构体
*/
export interface CreateEdgeNodeGroupRequest {
/**
* IECP边缘单元ID
*/
EdgeUnitId: number;
/**
* NodeGroup名称
*/
Name: string;
/**
* 命名空间,不填默认为default
*/
Namespace?: string;
/**
* 描述
*/
Description?: string;
/**
* 模版ID数组
*/
NodeUnitTemplateIDs?: Array<number | bigint>;
}
/**
* CreateEdgeUnitApplicationVisualization请求参数结构体
*/
export interface CreateEdgeUnitApplicationVisualizationRequest {
/**
* 基本信息
*/
BasicInfo: ApplicationBasicInfo;
/**
* 基本配置
*/
BasicConfig: ApplicationBasicConfig;
/**
* 单元ID
*/
EdgeUnitId: number;
/**
* 卷列表
*/
Volumes?: Array<Volume>;
/**
* 服务配置
*/
Service?: Service;
/**
* 模版ID
*/
TemplateID?: number;
/**
* Job配置
*/
Job?: Job;
/**
* CronJob配置
*/
CronJob?: CronJob;
/**
* 重新运行策略
*/
RestartPolicy?: string;
/**
* 镜像拉取密钥
*/
ImagePullSecrets?: Array<string>;
/**
* HPA配置
*/
HorizontalPodAutoscaler?: HorizontalPodAutoscaler;
/**
* 初始化容器列表
*/
InitContainers?: Array<Container>;
/**
* 容器列表
*/
Containers?: Array<Container>;
}
/**
* GridPod信息
*/
export interface GridPodInfo {
/**
* Pod名称
*/
Name: string;
/**
* 命名空间
*/
NameSpace: string;
/**
* 状态(Pending|Running|Succeeded|Failed|Unknown)
*/
Status: string;
/**
* 节点名
*/
NodeName: string;
/**
* 节点IP
*/
NodeIP: string;
/**
* Pod的IP
*/
PodIP: string;
/**
* 启动时间
注意:此字段可能返回 null,表示取不到有效值。
*/
StartTime: string;
/**
* 运行时长(秒)
注意:此字段可能返回 null,表示取不到有效值。
*/
RunSec: number;
/**
* 重启次数
*/
RestartCount: number;
/**
* 集群名称ID
注意:此字段可能返回 null,表示取不到有效值。
*/
ClusterID: string;
}
/**
* CreateSecret请求参数结构体
*/
export interface CreateSecretRequest {
/**
* 单元ID
*/
EdgeUnitID: number;
/**
* secret名
*/
SecretName: string;
/**
* 命名空间(默认:default)
*/
SecretNamespace?: string;
/**
* secret类型(取值范围:DockerConfigJson,Opaque 默认Opaque)
*/
SecretType?: string;
/**
* DockerConfig的序列化base64编码后的字符串
*/
DockerConfigJson?: string;
/**
* Opaque类型的Secret内容
*/
CloudData?: Array<KeyValueObj>;
/**
* DockerConfig配置
*/
DockerConfig?: DockerConfig;
}
/**
* DescribeEdgeUnitApplicationYaml请求参数结构体
*/
export interface DescribeEdgeUnitApplicationYamlRequest {
/**
* 单元ID
*/
EdgeUnitId: number;
/**
* 应用ID
*/
ApplicationId: number;
}
/**
* CreateEdgeUnitApplicationVisualization返回参数结构体
*/
export interface CreateEdgeUnitApplicationVisualizationResponse {
/**
* 应用ID
注意:此字段可能返回 null,表示取不到有效值。
*/
ApplicationId: number;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* CreateEdgeNodeBatch返回参数结构体
*/
export interface CreateEdgeNodeBatchResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeNamespaces返回参数结构体
*/
export interface DescribeNamespacesResponse {
/**
* 命名空间信息列表
*/
Items: Array<NamespaceInfo>;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeSecret返回参数结构体
*/
export interface DescribeSecretResponse {
/**
* Secret名
注意:此字段可能返回 null,表示取不到有效值。
*/
Name: string;
/**
* 命名空间
注意:此字段可能返回 null,表示取不到有效值。
*/
Namespace: string;
/**
* 创建时间
注意:此字段可能返回 null,表示取不到有效值。
*/
CreateTime: string;
/**
* secret的yaml格式
注意:此字段可能返回 null,表示取不到有效值。
*/
Yaml: string;
/**
* secret的json格式
注意:此字段可能返回 null,表示取不到有效值。
*/
Json: string;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* NodeUnit模版信息
*/
export interface NodeUnitTemplate {
/**
* NodeUnit模版ID
*/
ID: number;
/**
* NodeUnit模版名称
*/
Name: string;
/**
* 命名空间
*/
Namespace: string;
/**
* 描述
*/
Description: string;
/**
* 包含节点列表
注意:此字段可能返回 null,表示取不到有效值。
*/
NodeList: Array<NodeSimpleInfo>;
/**
* NodeGroup列表
注意:此字段可能返回 null,表示取不到有效值。
*/
NodeGroups: Array<string>;
/**
* 更新时间
*/
UpdateTime: string;
/**
* 创建时间
*/
CreateTime: string;
}
/**
* DescribeSecretYamlError返回参数结构体
*/
export interface DescribeSecretYamlErrorResponse {
/**
* 校验是通过
注意:此字段可能返回 null,表示取不到有效值。
*/
CheckPass: boolean;
/**
* 错误类型
注意:此字段可能返回 null,表示取不到有效值。
*/
ErrType: number;
/**
* 错误信息
注意:此字段可能返回 null,表示取不到有效值。
*/
ErrInfo: string;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* ModifyEdgeUnitDeployGridItem请求参数结构体
*/
export interface ModifyEdgeUnitDeployGridItemRequest {
/**
* IECP边缘单元ID
*/
EdgeUnitId: number;
/**
* Grid名称
*/
GridItemName: string;
/**
* 负载类型(StatefulSetGrid|DeploymentGrid)
*/
WorkloadKind: string;
/**
* 副本数
*/
Replicas: number;
/**
* 命名空间,默认default
*/
Namespace?: string;
}
/**
* 指定NodeGroup中查询NodeUnit模版
*/
export interface NodeGroupNodeUnitTemplateInfo {
/**
* 模版ID
*/
ID: number;
/**
* 名称
*/
Name: string;
/**
* 命名空间
*/
Namespace: string;
/**
* 描述
*/
Description: string;
/**
* 包含节点列表
*/
NodeList: Array<NodeSimpleInfo>;
/**
* 更新时间
*/
UpdateTime: string;
/**
* 创建时间
*/
CreateTime: string;
/**
* 是否关联
*/
Relation: boolean;
}
/**
* DescribeEdgeUnitMonitorStatus请求参数结构体
*/
export interface DescribeEdgeUnitMonitorStatusRequest {
/**
* IECP边缘单元ID
*/
EdgeUnitId: number;
}
/**
* GetMarketComponent返回参数结构体
*/
export interface GetMarketComponentResponse {
/**
* 组件ID
*/
ID: number;
/**
* 组件名称
*/
AppName: string;
/**
* 发行组织
*/
Author: string;
/**
* 发布时间
*/
ReleaseTime: string;
/**
* 组件简介
*/
Outline: string;
/**
* 详细介绍链接
*/
Detail: string;
/**
* 图标连接
*/
Icon: string;
/**
* 组件版本
*/
Version: string;
/**
* 组件可视化配置
*/
WorkloadVisualConfig: string;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* CreateApplicationVisualization请求参数结构体
*/
export interface CreateApplicationVisualizationRequest {
/**
* 基本信息
*/
BasicInfo: ApplicationBasicInfo;
/**
* 基本配置
*/
BasicConfig: ApplicationBasicConfig;
/**
* 卷列表
*/
Volumes?: Array<Volume>;
/**
* 服务配置
*/
Service?: Service;
/**
* Job配置
*/
Job?: Job;
/**
* CronJob配置
*/
CronJob?: CronJob;
/**
* 重新运行策略
*/
RestartPolicy?: string;
/**
* 镜像拉取密钥
*/
ImagePullSecrets?: Array<string>;
/**
* HPA配置
*/
HorizontalPodAutoscaler?: HorizontalPodAutoscaler;
/**
* 初始化容器列表
*/
InitContainers?: Array<Container>;
/**
* 容器列表
*/
Containers?: Array<Container>;
}
/**
* NodeUnit中边缘节点信息
*/
export interface NodeUnitNodeInfo {
/**
* 节点ID
*/
Id: number;
/**
* 节点状态 NodeStatusHealthy (健康)/NodeStatusAbnormal (异常)/NodeStatusOffline (下线)/NodeStatusNotActivated (未激活
*/
Status: string;
/**
* 节点名称
*/
NodeName: string;
/**
* 内网节点IP
*/
InternalIP: string;
}
/**
* DeleteNodeUnit返回参数结构体
*/
export interface DeleteNodeUnitResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* NFS挂载卷
*/
export interface VolumeNFS {
/**
* 服务地址
*/
Server: string;
/**
* 对应服务器路径
*/
ServerPath: string;
/**
* 对应本地路径
*/
Path: string;
}
/**
* 服务配置
*/
export interface Service {
/**
* 名称
*/
Name: string;
/**
* 类型 (ClusterIP|NodePort)
*/
Type: string;
/**
* 端口配置
*/
Ports: Array<PortConfig>;
/**
* 标签
*/
Labels: Array<Label>;
/**
* 命名空间默认default
*/
Namespace?: string;
/**
* 服务IP
*/
ClusterIP?: string;
}
/**
* DescribeEdgeUnitApplications返回参数结构体
*/
export interface DescribeEdgeUnitApplicationsResponse {
/**
* 总数
注意:此字段可能返回 null,表示取不到有效值。
*/
TotalCount: number;
/**
* 应用列表
*/
ApplicationSet: Array<ApplicationStatusInfo>;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeNodeUnitTemplateOnNodeGroup返回参数结构体
*/
export interface DescribeNodeUnitTemplateOnNodeGroupResponse {
/**
* 记录总数
*/
Total: number;
/**
* NodeUnit模板
注意:此字段可能返回 null,表示取不到有效值。
*/
NodeUnitTemplates: Array<NodeGroupNodeUnitTemplateInfo>;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* 应用状态
*/
export interface ApplicationStatusInfo {
/**
* 应用ID
注意:此字段可能返回 null,表示取不到有效值。
*/
Id?: number;
/**
* 应用名称
注意:此字段可能返回 null,表示取不到有效值。
*/
Name: string;
/**
* 应用版本
注意:此字段可能返回 null,表示取不到有效值。
*/
Version: string;
/**
* 应用状态(1:待部署 2:部署中 3:运行中 4:待更新 5:更新中 6:待删除 7:删除中 8:已删除
注意:此字段可能返回 null,表示取不到有效值。
*/
Status: string;
/**
* 开始时间
注意:此字段可能返回 null,表示取不到有效值。
*/
StartTime: string;
/**
* 管理地址
注意:此字段可能返回 null,表示取不到有效值。
*/
ManageUrl: string;
/**
* 负载类型
注意:此字段可能返回 null,表示取不到有效值。
*/
WorkloadKind: string;
/**
* 应用部署模式
注意:此字段可能返回 null,表示取不到有效值。
*/
DeployMode: ApplicationDeployMode;
/**
* 期望Pod数
注意:此字段可能返回 null,表示取不到有效值。
*/
Replicas: number;
/**
* 运行Pod数
注意:此字段可能返回 null,表示取不到有效值。
*/
AvailableReplicas: number;
}
/**
* DescribeEdgeUnitGridEvents返回参数结构体
*/
export interface DescribeEdgeUnitGridEventsResponse {
/**
* 事件列表
注意:此字段可能返回 null,表示取不到有效值。
*/
EventSet: Array<GridEventInfo>;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* 子设备列表信息
*/
export interface IotDevicesInfo {
/**
* 设备id
*/
Id: number;
/**
* 设备名称
*/
Name: string;
/**
* 设备状态
*/
Status: number;
/**
* 设备打开状态
*/
Disabled: boolean;
/**
* 描述
*/
Description: string;
/**
* 设备创建时间
*/
CreateTime: string;
/**
* 最后在线时间
*/
LastOnlineTime: string;
/**
* 设备是否绑定到节点
*/
IsBound: boolean;
/**
* 设备版本
*/
Version: string;
/**
* 无
*/
Region: string;
/**
* 无
*/
UnitID: number;
/**
* 无
*/
UnitName: string;
}
/**
* DescribeEdgeUnitApplicationYamlError返回参数结构体
*/
export interface DescribeEdgeUnitApplicationYamlErrorResponse {
/**
* 是否通过
注意:此字段可能返回 null,表示取不到有效值。
*/
CheckPass: boolean;
/**
* 错误类型
注意:此字段可能返回 null,表示取不到有效值。
*/
ErrType: number;
/**
* 错误信息
*/
ErrInfo: string;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DeleteEdgeUnitCloud返回参数结构体
*/
export interface DeleteEdgeUnitCloudResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* ModifyConfigMap请求参数结构体
*/
export interface ModifyConfigMapRequest {
/**
* 单元ID
*/
EdgeUnitID: number;
/**
* ConfigMap名称
*/
ConfigMapName: string;
/**
* Yaml配置, base64之后的串
*/
Yaml: string;
/**
* ConfigMap命名空间
*/
ConfigMapNamespace?: string;
}
/**
* 应用基本配置
*/
export interface ApplicationBasicConfig {
/**
* 名称
*/
Name: string;
/**
* 命名空间
*/
Namespace: string;
/**
* 工作负载类型
*/
WorkflowKind: string;
/**
* 标签信息
*/
Labels?: Array<Label>;
/**
* Grid唯一Key
*/
GridUniqKey?: string;
/**
* NodeSelector标签
*/
NodeSelector?: Array<Label>;
/**
* 实例数
*/
Replicas?: number;
/**
* 可用实例数
*/
AvailableReplicas?: number;
/**
* 是否开启service环境变量注入pod
注意:此字段可能返回 null,表示取不到有效值。
*/
EnableServiceLinks?: boolean;
}
/**
* 数据挂载
*/
export interface VolumeMount {
/**
* 名称
*/
Name: string;
/**
* 挂载路径
*/
MountPath: string;
/**
* 子路径
注意:此字段可能返回 null,表示取不到有效值。
*/
SubPath?: string;
/**
* 是否只读
注意:此字段可能返回 null,表示取不到有效值。
*/
ReadOnly?: boolean;
}
/**
* ModifyApplicationBasicInfo返回参数结构体
*/
export interface ModifyApplicationBasicInfoResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DeleteEdgeUnitDeployGridItem返回参数结构体
*/
export interface DeleteEdgeUnitDeployGridItemResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeApplicationVisualization请求参数结构体
*/
export interface DescribeApplicationVisualizationRequest {
/**
* 应用模板ID
*/
ApplicationId: number;
}
/**
* DescribeEdgeSnNodes返回参数结构体
*/
export interface DescribeEdgeSnNodesResponse {
/**
* 满足条件的总条数
注意:此字段可能返回 null,表示取不到有效值。
*/
TotalCount: number;
/**
* 节点详情
注意:此字段可能返回 null,表示取不到有效值。
*/
NodeSet: Array<EdgeDracoNodeInfo>;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeEdgeUnitApplications请求参数结构体
*/
export interface DescribeEdgeUnitApplicationsRequest {
/**
* 单元ID
*/
EdgeUnitId: number;
/**
* 翻页偏移
*/
Offset: number;
/**
* 翻页大小
*/
Limit: number;
/**
* 名称模糊匹配
*/
NamePattern?: string;
/**
* 字段排序 (Sort.Filed为:StartTime)
*/
Sort?: Array<FieldSort>;
/**
* 命名空间过滤
*/
Namespace?: string;
}
/**
* DescribeEdgeUnitApplicationYaml返回参数结构体
*/
export interface DescribeEdgeUnitApplicationYamlResponse {
/**
* Yaml配置
注意:此字段可能返回 null,表示取不到有效值。
*/
Yaml: string;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeConfigMapYamlError返回参数结构体
*/
export interface DescribeConfigMapYamlErrorResponse {
/**
* 校验是通过
注意:此字段可能返回 null,表示取不到有效值。
*/
CheckPass: boolean;
/**
* 错误类型
注意:此字段可能返回 null,表示取不到有效值。
*/
ErrType: number;
/**
* 错误信息
注意:此字段可能返回 null,表示取不到有效值。
*/
ErrInfo: string;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeConfigMap返回参数结构体
*/
export interface DescribeConfigMapResponse {
/**
* 名称
注意:此字段可能返回 null,表示取不到有效值。
*/
Name: string;
/**
* 命名空间
注意:此字段可能返回 null,表示取不到有效值。
*/
Namespace: string;
/**
* 创建时间
注意:此字段可能返回 null,表示取不到有效值。
*/
CreateTime: string;
/**
* yaml配置
注意:此字段可能返回 null,表示取不到有效值。
*/
Yaml: string;
/**
* 配置项的json格式(base64编码)
注意:此字段可能返回 null,表示取不到有效值。
*/
Json: string;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* GetMarketComponentList请求参数结构体
*/
export interface GetMarketComponentListRequest {
/**
* 页偏移,从0开始
*/
Offset: number;
/**
* 每页条数
*/
Limit: number;
/**
* 名称模糊筛选
*/
Filter?: string;
/**
* 以名称排序,ASC、DESC
*/
Order?: string;
}
/**
* DescribeApplicationYaml请求参数结构体
*/
export interface DescribeApplicationYamlRequest {
/**
* 应用模板ID
*/
ApplicationId: number;
}
/**
* ModifyApplicationVisualization请求参数结构体
*/
export interface ModifyApplicationVisualizationRequest {
/**
* 应用ID
*/
ApplicationId: number;
/**
* 应用配置
*/
BasicConfig: ApplicationBasicConfig;
/**
* 卷配置
*/
Volumes?: Array<Volume>;
/**
* 初始容器
*/
InitContainers?: Array<Container>;
/**
* 容器配置
*/
Containers?: Array<Container>;
/**
* 服务配置
*/
Service?: Service;
/**
* Job配置
*/
Job?: Job;
/**
* CronJob配置
*/
CronJob?: CronJob;
/**
* 重启策略
*/
RestartPolicy?: string;
/**
* 镜像拉取密钥
*/
ImagePullSecrets?: Array<string>;
/**
* HPA配置
*/
HorizontalPodAutoscaler?: HorizontalPodAutoscaler;
/**
* 单个初始化容器
*/
InitContainer?: Container;
}
/**
* DescribeEdgeUnitNodeUnitTemplates请求参数结构体
*/
export interface DescribeEdgeUnitNodeUnitTemplatesRequest {
/**
* IECP边缘单元ID
*/
EdgeUnitId: number;
/**
* 命名空间,默认为default
*/
Namespace?: string;
/**
* 分页查询offset,默认为0
*/
Offset?: number;
/**
* 分页查询limit,默认为20
*/
Limit?: number;
/**
* 模糊匹配,精确匹配时失效
*/
NameFilter?: string;
/**
* 精确匹配
*/
NameMatched?: string;
/**
* 按时间排序顺序,默认为DESC
*/
Order?: string;
}
/**
* DeleteEdgeUnitApplications请求参数结构体
*/
export interface DeleteEdgeUnitApplicationsRequest {
/**
* 单元ID
*/
EdgeUnitID: number;
/**
* 应用ID列表
*/
ApplicationIDs: Array<number | bigint>;
}
/**
* DeleteApplications请求参数结构体
*/
export interface DeleteApplicationsRequest {
/**
* 应用模板ID列表
*/
ApplicationIds: Array<number | bigint>;
}
/**
* DescribeEdgeUnitApplicationPodContainers请求参数结构体
*/
export interface DescribeEdgeUnitApplicationPodContainersRequest {
/**
* 单元ID
*/
EdgeUnitId: number;
/**
* 应用ID
*/
ApplicationId: number;
/**
* Pod名
*/
PodName: string;
}
/**
* TCP探测配置
*/
export interface TcpProbe {
/**
* 连接端口
注意:此字段可能返回 null,表示取不到有效值。
*/
Port: number;
}
/**
* ConfigMap的key挂载到路径
*/
export interface VolumeConfigMapKeyToPath {
/**
* 健名
*/
Key: string;
/**
* 对应本地路径
*/
Path: string;
/**
* 对应权限模式
*/
Mode: string;
}
/**
* DescribeDracoEdgeNodeInstaller返回参数结构体
*/
export interface DescribeDracoEdgeNodeInstallerResponse {
/**
* 在线安装命名
注意:此字段可能返回 null,表示取不到有效值。
*/
OnlineInstallationCommand: string;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* ModifyEdgeUnitCloudApi请求参数结构体
*/
export interface ModifyEdgeUnitCloudApiRequest {
/**
* 边缘单元ID
*/
EdgeUnitId: number;
/**
* 边缘单元名称,64字符内
*/
Name?: string;
/**
* 描述,200字符内
*/
Description?: string;
/**
* 是否开启监控
*/
OpenCloudMonitor?: boolean;
}
/**
* DescribeEdgeUnitDeployGridItem请求参数结构体
*/
export interface DescribeEdgeUnitDeployGridItemRequest {
/**
* 边缘单元ID
*/
EdgeUnitId: number;
/**
* Grid名称
*/
GridName: string;
/**
* 负载类型(StatefulSetGrid|DeploymentGrid)
*/
WorkloadKind: string;
/**
* 命名空间,默认default
*/
Namespace?: string;
/**
* 排序,默认ASC
*/
Order?: string;
}
/**
* ModifyEdgeUnit请求参数结构体
*/
export interface ModifyEdgeUnitRequest {
/**
* 边缘集群ID
*/
EdgeUnitId: number;
/**
* 边缘集群名称,64字符以内
*/
Name: string;
/**
* 集群描述,200字符以内
*/
Description?: string;
}
/**
* 容器状态
*/
export interface ContainerStatus {
/**
* 容器名
注意:此字段可能返回 null,表示取不到有效值。
*/
Name: string;
/**
* 容器ID
注意:此字段可能返回 null,表示取不到有效值。
*/
ID: string;
/**
* 镜像
注意:此字段可能返回 null,表示取不到有效值。
*/
Image: string;
/**
* 重启次数
注意:此字段可能返回 null,表示取不到有效值。
*/
RestartCount: number;
/**
* 状态
*/
Status: string;
}
/**
* DescribeEdgeUnitCloud返回参数结构体
*/
export interface DescribeEdgeUnitCloudResponse {
/**
* 边缘集群名称
*/
Name: string;
/**
* 描述
注意:此字段可能返回 null,表示取不到有效值。
*/
Description: string;
/**
* 创建时间
注意:此字段可能返回 null,表示取不到有效值。
*/
CreateTime: string;
/**
* 更新时间
注意:此字段可能返回 null,表示取不到有效值。
*/
UpdateTime: string;
/**
* 集群最后探活时间
注意:此字段可能返回 null,表示取不到有效值。
*/
LiveTime: string;
/**
* 集群状态
注意:此字段可能返回 null,表示取不到有效值。
*/
MasterStatus: string;
/**
* 版本号
注意:此字段可能返回 null,表示取不到有效值。
*/
K8sVersion: string;
/**
* pod cidr
注意:此字段可能返回 null,表示取不到有效值。
*/
PodCIDR: string;
/**
* service cidr
注意:此字段可能返回 null,表示取不到有效值。
*/
ServiceCIDR: string;
/**
* 集群内网访问地址
注意:此字段可能返回 null,表示取不到有效值。
*/
APIServerAddress: string;
/**
* 集群外网访问地址
注意:此字段可能返回 null,表示取不到有效值。
*/
APIServerExposeAddress: string;
/**
* 用户ID
注意:此字段可能返回 null,表示取不到有效值。
*/
UID: string;
/**
* 集群ID
注意:此字段可能返回 null,表示取不到有效值。
*/
UnitID: number;
/**
* 集群标识
注意:此字段可能返回 null,表示取不到有效值。
*/
Cluster: string;
/**
* 节点统计
注意:此字段可能返回 null,表示取不到有效值。
*/
Node: EdgeUnitStatisticItem;
/**
* 工作负载统计
注意:此字段可能返回 null,表示取不到有效值。
*/
Workload: EdgeUnitStatisticItem;
/**
* Grid应用统计
注意:此字段可能返回 null,表示取不到有效值。
*/
Grid: EdgeUnitStatisticItem;
/**
* 设备统计
注意:此字段可能返回 null,表示取不到有效值。
*/
SubDevice: EdgeUnitStatisticItem;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* Pod状态信息
*/
export interface PodStatus {
/**
* 名称
注意:此字段可能返回 null,表示取不到有效值。
*/
Name: string;
/**
* 命名空间
注意:此字段可能返回 null,表示取不到有效值。
*/
NameSpace: string;
/**
* 状态
注意:此字段可能返回 null,表示取不到有效值。
*/
Status: string;
/**
* IP地址
注意:此字段可能返回 null,表示取不到有效值。
*/
IP: string;
/**
* 启动时间
注意:此字段可能返回 null,表示取不到有效值。
*/
StartTime: string;
/**
* 运行时间
注意:此字段可能返回 null,表示取不到有效值。
*/
RunSec: number;
/**
* 重启次数
注意:此字段可能返回 null,表示取不到有效值。
*/
RestartCount: number;
}
/**
* RedeployEdgeUnitApplication请求参数结构体
*/
export interface RedeployEdgeUnitApplicationRequest {
/**
* 单元ID
*/
EdgeUnitId: number;
/**
* 应用ID
*/
ApplicationId: number;
}
/**
* DescribeEdgeNodeRemarkList请求参数结构体
*/
export interface DescribeEdgeNodeRemarkListRequest {
/**
* 边缘单元ID
*/
EdgeUnitId: number;
}
/**
* DeleteSecret返回参数结构体
*/
export interface DeleteSecretResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DeleteConfigMap返回参数结构体
*/
export interface DeleteConfigMapResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeApplications返回参数结构体
*/
export interface DescribeApplicationsResponse {
/**
* 总条数
注意:此字段可能返回 null,表示取不到有效值。
*/
TotalCount: number;
/**
* 详细列表
*/
ApplicationSet: Array<ApplicationTemplate>;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DeleteConfigMap请求参数结构体
*/
export interface DeleteConfigMapRequest {
/**
* 单元ID
*/
EdgeUnitID: number;
/**
* ConfigMap名
*/
ConfigMapName: string;
/**
* ConfigMap命名空间,默认:default
*/
ConfigMapNamespace?: string;
}
/**
* DescribeEdgeUnitDeployGridItem返回参数结构体
*/
export interface DescribeEdgeUnitDeployGridItemResponse {
/**
* 记录总数
*/
TotalCount: number;
/**
* Grid部署列表
注意:此字段可能返回 null,表示取不到有效值。
*/
DeploySet: Array<GridItemInfo>;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* CreateMessageRoute请求参数结构体
*/
export interface CreateMessageRouteRequest {
/**
* 路由名称
*/
RouteName: string;
/**
* 路由备注
*/
Descript?: string;
}
/**
* DescribeEdgeUnitExtra请求参数结构体
*/
export interface DescribeEdgeUnitExtraRequest {
/**
* IECP边缘单元ID
*/
EdgeUnitId: number;
}
/**
* CreateUpdateNodeUnit请求参数结构体
*/
export interface CreateUpdateNodeUnitRequest {
/**
* IECP边缘单元ID
*/
EdgeUnitId: number;
/**
* NodeUnit所属的NodeGroup名称
*/
NodeGroupName: string;
/**
* 命名空间,默认为default
*/
Namespace?: string;
/**
* NodeUnit名称,通过模版创建可不填
*/
NodeUnitName?: string;
/**
* NodeUnit包含的节点列表,通过模版创建可不填
*/
Nodes?: Array<string>;
/**
* NodeUnit模版ID列表
*/
NodeUnitTemplateIDs?: Array<number | bigint>;
}
/**
* DescribeIotDevice请求参数结构体
*/
export interface DescribeIotDeviceRequest {
/**
* 设备id,传0值表示此参数无效
*/
DeviceId?: number;
/**
* 无
*/
ProductID?: string;
/**
* 无
*/
DeviceName?: string;
}
/**
* CreateConfigMap返回参数结构体
*/
export interface CreateConfigMapResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeEdgeUnitsCloud请求参数结构体
*/
export interface DescribeEdgeUnitsCloudRequest {
/**
* 偏移量
*/
Offset: number;
/**
* limit值
*/
Limit: number;
/**
* 集群名称模糊匹配
*/
NamePattern?: string;
/**
* 排序,ASC/DESC(默认)
*/
Order?: string;
}
/**
* 应用模板列表详情
*/
export interface ApplicationTemplate {
/**
* 模板ID
注意:此字段可能返回 null,表示取不到有效值。
*/
Id: number;
/**
* 模板名称
注意:此字段可能返回 null,表示取不到有效值。
*/
Name: string;
/**
* 来源。1 自定义应用模板 ; 2 官方应用模板
注意:此字段可能返回 null,表示取不到有效值。
*/
Source: number;
/**
* 应用类型
注意:此字段可能返回 null,表示取不到有效值。
*/
WorkloadKind: string;
/**
* 管理地址
注意:此字段可能返回 null,表示取不到有效值。
*/
ManageUrl: string;
/**
* 发布时间
注意:此字段可能返回 null,表示取不到有效值。
*/
DistributeTime: string;
}
/**
* 应用基本信息
*/
export interface ApplicationBasicInfo {
/**
* 名称
*/
Name: string;
/**
* 管理URL地址
*/
ManageUrl?: string;
/**
* 描述信息
*/
Description?: string;
/**
* 创建时间
*/
CreateTime?: string;
/**
* 是否允许可视化修改
注意:此字段可能返回 null,表示取不到有效值。
*/
AllowVisualModify?: boolean;
}
/**
* DescribeEdgeDefaultVpc请求参数结构体
*/
export declare type DescribeEdgeDefaultVpcRequest = null;
/**
* DescribeSecrets返回参数结构体
*/
export interface DescribeSecretsResponse {
/**
* 总数目
注意:此字段可能返回 null,表示取不到有效值。
*/
TotalCount: number;
/**
* Secret列表
注意:此字段可能返回 null,表示取不到有效值。
*/
Items: Array<SecretItem>;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DeleteEdgeNodeGroup请求参数结构体
*/
export interface DeleteEdgeNodeGroupRequest {
/**
* IECP边缘单元ID
*/
EdgeUnitId: number;
/**
* NodeGroup名称
*/
Name: string;
/**
* 命名空间,默认为default
*/
Namespace?: string;
}
/**
* DescribeEdgeUnitApplicationYamlError请求参数结构体
*/
export interface DescribeEdgeUnitApplicationYamlErrorRequest {
/**
* Yaml配置
*/
Yaml: string;
}
/**
* DescribeEdgeNodePods返回参数结构体
*/
export interface DescribeEdgeNodePodsResponse {
/**
* Pod列表
注意:此字段可能返回 null,表示取不到有效值。
*/
PodSet: Array<EdgeNodePodInfo>;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeEdgePod返回参数结构体
*/
export interface DescribeEdgePodResponse {
/**
* Pod详情信息
注意:此字段可能返回 null,表示取不到有效值。
*/
Pod: EdgeNodePodInfo;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* CreateEdgeNodeUnitTemplate返回参数结构体
*/
export interface CreateEdgeNodeUnitTemplateResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeMonitorMetrics返回参数结构体
*/
export interface DescribeMonitorMetricsResponse {
/**
* 查询监控指标结果
注意:此字段可能返回 null,表示取不到有效值。
*/
Metrics: Array<MonitorMetricsColumn>;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* 环境变量
*/
export interface Env {
/**
* 名称
*/
Name: string;
/**
* 值
*/
Value: string;
/**
* 值引用
*/
ValueFrom: EnvValueSelector;
}
/**
* DescribeConfigMaps返回参数结构体
*/
export interface DescribeConfigMapsResponse {
/**
* ConfigMap列表
注意:此字段可能返回 null,表示取不到有效值。
*/
Items: Array<ConfigMapBasicInfo>;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* NodeGroup信息
*/
export interface NodeGroupInfo {
/**
* 描述
*/
Description: string;
/**
* 创建时间
*/
CreateTime: string;
/**
* NodeGroup名称
*/
NodeGroupName: string;
/**
* DeploymentGrid数组
注意:此字段可能返回 null,表示取不到有效值。
*/
DeploymentGridList: Array<GridDetail>;
/**
* StatefulSetGrid数组
注意:此字段可能返回 null,表示取不到有效值。
*/
StatefulSetGridList: Array<GridDetail>;
/**
* 是否平台保护
注意:此字段可能返回 null,表示取不到有效值。
*/
Protect: boolean;
}
/**
* 操作日志
*/
export interface OperationLog {
/**
* 操作时间
注意:此字段可能返回 null,表示取不到有效值。
*/
OperateTime: string;
/**
* 模块名
注意:此字段可能返回 null,表示取不到有效值。
*/
Module: string;
/**
* 操作信息
*/
Description: string;
/**
* 用户ID
*/
UserId: string;
/**
* 状态: 1:成功 2:失败
*/
Status: number;
/**
* 操作用户ID
注意:此字段可能返回 null,表示取不到有效值。
*/
OperatorUserID: string;
/**
* 操作动作
注意:此字段可能返回 null,表示取不到有效值。
*/
Action: string;
}
/**
* GetMarketComponentList返回参数结构体
*/
export interface GetMarketComponentListResponse {
/**
* 组件列表
*/
ComponentList: Array<MarketComponentInfo>;
/**
* 组件总数
*/
TotalCount: number;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeEdgeNodePodContainers返回参数结构体
*/
export interface DescribeEdgeNodePodContainersResponse {
/**
* Pod容器列表
注意:此字段可能返回 null,表示取不到有效值。
*/
ContainerSet: Array<EdgeNodePodContainerInfo>;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* CreateNamespace返回参数结构体
*/
export interface CreateNamespaceResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DeleteEdgeUnitDevices请求参数结构体
*/
export interface DeleteEdgeUnitDevicesRequest {
/**
* 无
*/
EdgeUnitId: number;
/**
* 无
*/
Devices: Array<DeleteEdgeUnitDevicesDevice>;
}
/**
* CronJob配置
*/
export interface CronJob {
/**
* 调度配置
*/
Schedule: string;
/**
* 运行时间
*/
StartingDeadlineSeconds: number;
/**
* job并行策略(Allow|Forbid|Replace)
*/
ConcurrencyPolicy: string;
/**
* Job配置
*/
Job: Job;
}
/**
* DeleteEdgeUnitPod请求参数结构体
*/
export interface DeleteEdgeUnitPodRequest {
/**
* 集群ID
*/
ClusterID: string;
/**
* Pod名称
*/
PodName: string;
/**
* 命名空间
*/
Namespace: string;
}
/**
* CreateIotDevice请求参数结构体
*/
export interface CreateIotDeviceRequest {
/**
* 设备名称
*/
DeviceName: string;
/**
* 设备所属的产品id
*/
ProductId: string;
/**
* 描述
*/
Description?: string;
/**
* 无
*/
UnitID?: number;
}
/**
* CreateSecret返回参数结构体
*/
export interface CreateSecretResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DeleteEdgeNodeUnitTemplates请求参数结构体
*/
export interface DeleteEdgeNodeUnitTemplatesRequest {
/**
* IECP边缘单元ID
*/
EdgeUnitId: number;
/**
* 删除的NodeUnit模板ID列表
*/
NodeUnitTemplateIDs: Array<number | bigint>;
}
/**
* ModifyEdgeNodeLabels返回参数结构体
*/
export interface ModifyEdgeNodeLabelsResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeEdgeUnitNodeGroup请求参数结构体
*/
export interface DescribeEdgeUnitNodeGroupRequest {
/**
* IECP边缘单元ID
*/
EdgeUnitId: number;
/**
* 命名空间,默认为default
*/
Namespace?: string;
/**
* 分页offset,默认为0
*/
Offset?: number;
/**
* 分页limit,默认为20
*/
Limit?: number;
/**
* 模糊匹配参数,精确匹配时失效
*/
NameFilter?: string;
/**
* 精确匹配参数
*/
NameMatched?: string;
/**
* 按时间排序,ASC/DESC,默认为DESC
*/
Order?: string;
}
/**
* 单元内的统计信息
*/
export interface EdgeUnitStatisticItem {
/**
* 总数
注意:此字段可能返回 null,表示取不到有效值。
*/
Total: number;
/**
* 在线数
注意:此字段可能返回 null,表示取不到有效值。
*/
Online: number;
/**
* 异常数
注意:此字段可能返回 null,表示取不到有效值。
*/
Abnormal: number;
/**
* 离线数
注意:此字段可能返回 null,表示取不到有效值。
*/
Offline: number;
/**
* 未激活
注意:此字段可能返回 null,表示取不到有效值。
*/
NotActive: number;
}
/**
* DescribeEdgeUnitApplicationPods请求参数结构体
*/
export interface DescribeEdgeUnitApplicationPodsRequest {
/**
* 单元ID
*/
EdgeUnitId: number;
/**
* 应用ID
*/
ApplicationId: number;
}
/**
* Job配置
*/
export interface Job {
/**
* 并发数
*/
Parallelism: number;
/**
* 完成数
*/
Completion: number;
/**
* 最大运行时间
*/
ActiveDeadlineSeconds: number;
/**
* 失败前重试次数
*/
BackOffLimit: number;
}
/**
* DescribeEdgeUnitApplicationLogs返回参数结构体
*/
export interface DescribeEdgeUnitApplicationLogsResponse {
/**
* 日志列表
注意:此字段可能返回 null,表示取不到有效值。
*/
LogSet: Array<string>;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* ModifyEdgeUnitDeployGridItem返回参数结构体
*/
export interface ModifyEdgeUnitDeployGridItemResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* CreateEdgeNode请求参数结构体
*/
export interface CreateEdgeNodeRequest {
/**
* 边缘单元ID
*/
EdgeUnitId: number;
/**
* 节点名称
*/
Name: string;
}
/**
* BuildMessageRoute返回参数结构体
*/
export interface BuildMessageRouteResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeEdgeUnitMonitorStatus返回参数结构体
*/
export interface DescribeEdgeUnitMonitorStatusResponse {
/**
* 监控状态描述:
"running" 单元监控正常运行
"deploying" 单元监控部署中
"norsc" 单元需要可用节点以部署监控
"abnormal" 单元监控异常
"none" 单元监控不可用
*/
MonitorStatus: string;
/**
* 监控是否就绪
*/
IsAvailable: boolean;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DeleteNamespace返回参数结构体
*/
export interface DeleteNamespaceResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeEdgeUnitExtra返回参数结构体
*/
export interface DescribeEdgeUnitExtraResponse {
/**
* APIServer类型
*/
APIServerType: string;
/**
* 域名URL
*/
APIServerURL: string;
/**
* 域名URL对应的端口
*/
APIServerURLPort: string;
/**
* 域名URL对应的端口
*/
APIServerResolveIP: string;
/**
* 对外可访问的IP
*/
APIServerExposeAddress: string;
/**
* 是否开启监控
*/
IsCreatePrometheus: boolean;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeConfigMaps请求参数结构体
*/
export interface DescribeConfigMapsRequest {
/**
* 单元ID
*/
EdgeUnitID: number;
/**
* 翻页偏移量
*/
Offset: number;
/**
* 每页大小(最大100)
*/
Limit: number;
/**
* 命名空间
*/
ConfigMapNamespace?: string;
/**
* 模糊匹配的名称
*/
NamePattern?: string;
/**
* Sort.Fileld填写CreateTime Sort.Order(ASC|DESC) 默认ASC
*/
Sort?: FieldSort;
}
/**
* DescribeEdgeUnitNodeUnitTemplates返回参数结构体
*/
export interface DescribeEdgeUnitNodeUnitTemplatesResponse {
/**
* 符合查询条件的记录总数
*/
Total: number;
/**
* NodeUnit模板列表
注意:此字段可能返回 null,表示取不到有效值。
*/
NodeUnitTemplates: Array<NodeUnitTemplate>;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* ServiceGroup中Grid信息
*/
export interface GridDetail {
/**
* Grid名称
*/
Name: string;
/**
* GridID
*/
Id: number;
}
/**
* ModifyIotDevice返回参数结构体
*/
export interface ModifyIotDeviceResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* ModifyEdgeNodeLabels请求参数结构体
*/
export interface ModifyEdgeNodeLabelsRequest {
/**
* IECP边缘单元ID
*/
EdgeUnitId: number;
/**
* IECP边缘节点ID
*/
NodeId: number;
/**
* 标签列表
*/
Labels: Array<KeyValueObj>;
}
/**
* DeleteEdgeUnitDevices返回参数结构体
*/
export interface DeleteEdgeUnitDevicesResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* CreateEdgeNodeGroup返回参数结构体
*/
export interface CreateEdgeNodeGroupResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* 边缘节点Pod信息
*/
export interface EdgeNodePodInfo {
/**
* Pod名称
注意:此字段可能返回 null,表示取不到有效值。
*/
Name: string;
/**
* Pod状态
注意:此字段可能返回 null,表示取不到有效值。
*/
Status: string;
/**
* 所在节点IP
注意:此字段可能返回 null,表示取不到有效值。
*/
NodeIp: string;
/**
* 实例IP
注意:此字段可能返回 null,表示取不到有效值。
*/
Ip: string;
/**
* CPU Request
注意:此字段可能返回 null,表示取不到有效值。
*/
CpuRequest: string;
/**
* Memory Request
注意:此字段可能返回 null,表示取不到有效值。
*/
MemoryRequest: string;
/**
* 命名空间
注意:此字段可能返回 null,表示取不到有效值。
*/
Namespace: string;
/**
* 工作负载类型
注意:此字段可能返回 null,表示取不到有效值。
*/
WorkloadType: string;
/**
* 工作负载名称
注意:此字段可能返回 null,表示取不到有效值。
*/
WorkloadName: string;
/**
* 创建时间
注意:此字段可能返回 null,表示取不到有效值。
*/
StartTime: string;
/**
* 重启次数
注意:此字段可能返回 null,表示取不到有效值。
*/
RestartCount: number;
/**
* 集群ID
*/
ClusterID: string;
}
/**
* 消息路由
*/
export interface RouteInfo {
/**
* 无
*/
RouteID: number;
/**
* 无
*/
RouteName: string;
/**
* 无
*/
SourceProductID: string;
/**
* 无
*/
TopicFilter: string;
/**
* 无
*/
Mode: string;
/**
* 无
*/
TargetOptions: string;
/**
* 无
*/
CreateTime: string;
/**
* 无
*/
Descript: string;
/**
* 无
*/
Healthy: string;
/**
* 无
*/
Status: string;
/**
* 无
*/
MessageCount: number;
/**
* 无
*/
MessageLastTime: string;
/**
* 无
*/
SourceProductName: string;
/**
* 无
*/
SourceUnitIDList: Array<string>;
/**
* 无
*/
SourceUnitNameList: Array<string>;
/**
* 无
*/
SourceDeviceNameList: Array<string>;
}
/**
* CreateEdgeUnitApplicationYaml请求参数结构体
*/
export interface CreateEdgeUnitApplicationYamlRequest {
/**
* 单元ID
*/
EdgeUnitId: number;
/**
* base64后的Yaml配置
*/
Yaml: string;
/**
* 基本信息
*/
BasicInfo?: ApplicationBasicInfo;
}
/**
* Http探测头
*/
export interface HttpHeader {
/**
* HTTP头的名称
注意:此字段可能返回 null,表示取不到有效值。
*/
Name: string;
/**
* HTTP头的值
注意:此字段可能返回 null,表示取不到有效值。
*/
Value: string;
}
/**
* DeleteEdgeUnitApplications返回参数结构体
*/
export interface DeleteEdgeUnitApplicationsResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeSecret请求参数结构体
*/
export interface DescribeSecretRequest {
/**
* 边缘单元ID
*/
EdgeUnitID: number;
/**
* secret名
*/
SecretName: string;
/**
* 命名空间(默认值:default)
*/
SecretNamespace?: string;
}
/**
* DeleteApplications返回参数结构体
*/
export interface DeleteApplicationsResponse {
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* Draco 设备预录入信息
*/
export interface DracoNodeInfo {
/**
* 设备SN。SN仅支持大写字母、数字,长度限制为1~32个字符
*/
SN: string;
/**
* 节点名称。长度限制为1~63个字符,节点名称只支持小写英文、数字、中横线、英文句号
*/
Name: string;
/**
* 节点备注
*/
Remark?: string;
}
/**
* NodeUnit信息
*/
export interface NodeUnitInfo {
/**
* NodeUnitId
*/
Id: number;
/**
* NodeUnit名称
*/
NodeUnitName: string;
/**
* 包含节点列表
注意:此字段可能返回 null,表示取不到有效值。
*/
NodeList: Array<NodeUnitNodeInfo>;
}
/**
* docker配置
*/
export interface DockerConfig {
/**
* 镜像仓库地址
注意:此字段可能返回 null,表示取不到有效值。
*/
RegistryDomain: string;
/**
* 用户名
*/
UserName: string;
/**
* 密码
*/
Password: string;
}
/**
* DescribeEdgeUnitDeployGridItemYaml请求参数结构体
*/
export interface DescribeEdgeUnitDeployGridItemYamlRequest {
/**
* IECP边缘单元ID
*/
EdgeUnitId: number;
/**
* 负载类型(StatefulSetGrid|DeploymentGrid)
*/
WorkloadKind: string;
/**
* Grid部署项名称
*/
GridItemName: string;
/**
* 命名空间,默认default
*/
Namespace?: string;
}
/**
* CreateEdgeNodeBatch请求参数结构体
*/
export interface CreateEdgeNodeBatchRequest {
/**
* 边缘单元ID
*/
EdgeUnitId: number;
/**
* 节点信息
*/
Nodes: Array<DracoNodeInfo>;
}
/**
* DescribeNamespace请求参数结构体
*/
export interface DescribeNamespaceRequest {
/**
* 单元ID
*/
EdgeUnitID: number;
/**
* 命名空间名
*/
Namespace: string;
}
/**
* DescribeNamespace返回参数结构体
*/
export interface DescribeNamespaceResponse {
/**
* 命名空间名
注意:此字段可能返回 null,表示取不到有效值。
*/
Namespace: string;
/**
* 状态 (Active|Terminating)
注意:此字段可能返回 null,表示取不到有效值。
*/
Status: string;
/**
* 描述信息
注意:此字段可能返回 null,表示取不到有效值。
*/
Description: string;
/**
* 创建时间
注意:此字段可能返回 null,表示取不到有效值。
*/
CreateTime: string;
/**
* 是否保护-不允许删除
注意:此字段可能返回 null,表示取不到有效值。
*/
Protected: boolean;
/**
* Yaml文件格式
注意:此字段可能返回 null,表示取不到有效值。
*/
Yaml: string;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* 组件市场的组件描述
*/
export interface MarketComponentInfo {
/**
* 组件ID
*/
ID: number;
/**
* 组件名称
*/
AppName: string;
/**
* 发布者
*/
Author?: string;
/**
* 发布时间
*/
ReleaseTime?: string;
/**
* 组件简介
*/
Outline?: string;
/**
* 指向详细描述的url
*/
Detail?: string;
/**
* 图标链接
*/
Icon?: string;
/**
* 组件版本
*/
Version?: string;
/**
* 组件可视化信息
*/
WorkloadVisualConfig?: string;
/**
* 无
*/
DetailUrl?: string;
/**
* 无
*/
Installed?: boolean;
}
/**
* DescribeConfigMap请求参数结构体
*/
export interface DescribeConfigMapRequest {
/**
* 单元ID
*/
EdgeUnitID: number;
/**
* ConfigMap名称
*/
ConfigMapName: string;
/**
* ConfigMap命名空间
*/
ConfigMapNamespace?: string;
}
/**
* ConfigMap基本信息
*/
export interface ConfigMapBasicInfo {
/**
* 名称
注意:此字段可能返回 null,表示取不到有效值。
*/
Name: string;
/**
* 命名空间
注意:此字段可能返回 null,表示取不到有效值。
*/
Namespace: string;
/**
* 创建时间
注意:此字段可能返回 null,表示取不到有效值。
*/
CreateTime: string;
}
/**
* 命名空间信息
*/
export interface NamespaceInfo {
/**
* 命名空间名
注意:此字段可能返回 null,表示取不到有效值。
*/
Namespace: string;
/**
* 状态(Active|Terminating)
注意:此字段可能返回 null,表示取不到有效值。
*/
Status: string;
/**
* 描述信息
注意:此字段可能返回 null,表示取不到有效值。
*/
Description: string;
/**
* 创建时间
注意:此字段可能返回 null,表示取不到有效值。
*/
CreateTime: string;
/**
* 是否保护(不允许删除)
注意:此字段可能返回 null,表示取不到有效值。
*/
Protected: boolean;
/**
* 对应的Yaml配置
注意:此字段可能返回 null,表示取不到有效值。
*/
Yaml: string;
}
/**
* CreateEdgeNodeUnitTemplate请求参数结构体
*/
export interface CreateEdgeNodeUnitTemplateRequest {
/**
* IECP边缘单元ID
*/
EdgeUnitId: number;
/**
* NodeUnit模板名称
*/
Name: string;
/**
* 命名空间,默认default
*/
Namespace?: string;
/**
* 包含的节点列表
*/
Nodes?: Array<string>;
/**
* 描述
*/
Description?: string;
}
/**
* Grid信息
*/
export interface GridInfo {
/**
* DeployGridId
*/
Id: number;
/**
* 名称
*/
Name: string;
/**
* Key
*/
GridUniqKey: string;
/**
* 描述
*/
Description: string;
/**
* 工作负载类型
*/
WorkloadKind: string;
/**
* 启动时间
*/
StartTime: string;
/**
* 副本数
注意:此字段可能返回 null,表示取不到有效值。
*/
Replicas: number;
/**
* 创建人
*/
Publisher: string;
/**
* 版本信息
*/
Version: string;
}
/**
* CreateApplicationVisualization返回参数结构体
*/
export interface CreateApplicationVisualizationResponse {
/**
* 应用ID
注意:此字段可能返回 null,表示取不到有效值。
*/
ApplicationId: number;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* 事件信息
*/
export interface Event {
/**
* 第一次出现时间
注意:此字段可能返回 null,表示取不到有效值。
*/
FirstTime: string;
/**
* 最后一次出现时间
注意:此字段可能返回 null,表示取不到有效值。
*/
LastTime: string;
/**
* 事件关联对象类型
注意:此字段可能返回 null,表示取不到有效值。
*/
InvolvedObjectKind: string;
/**
* 事件关联对象名
注意:此字段可能返回 null,表示取不到有效值。
*/
InvolvedObjectName: string;
/**
* 事件类型(Normal|Warning)
*/
Type: string;
/**
* 原因
注意:此字段可能返回 null,表示取不到有效值。
*/
Reason: string;
/**
* 内容
注意:此字段可能返回 null,表示取不到有效值。
*/
Message: string;
/**
* 出现次数
注意:此字段可能返回 null,表示取不到有效值。
*/
Count: number;
}
/**
* DescribeEdgeUnitCloud请求参数结构体
*/
export interface DescribeEdgeUnitCloudRequest {
/**
* 边缘集群ID
*/
EdgeUnitId: number;
}
/**
* CreateEdgeUnitApplicationYaml返回参数结构体
*/
export interface CreateEdgeUnitApplicationYamlResponse {
/**
* 应用ID
注意:此字段可能返回 null,表示取不到有效值。
*/
ApplicationId: number;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DescribeSecretYamlError请求参数结构体
*/
export interface DescribeSecretYamlErrorRequest {
/**
* yaml文件
*/
Yaml: string;
}
/**
* DescribeMessageRouteList返回参数结构体
*/
export interface DescribeMessageRouteListResponse {
/**
* 无
*/
RouteList: Array<RouteInfo>;
/**
* 无
*/
TotalCount: number;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* 字段排序
*/
export interface FieldSort {
/**
* 字段名
*/
Field?: string;
/**
* 排序(ASC:升序 DESC:降序
*/
Order?: string;
}
/**
* 获取边缘集群列表
*/
export interface EdgeCloudCluster {
/**
* IECP侧边缘集群ID
注意:此字段可能返回 null,表示取不到有效值。
*/
EdgeId: number;
/**
* 边缘集群ID
注意:此字段可能返回 null,表示取不到有效值。
*/
ClusterId: string;
/**
* 区域
注意:此字段可能返回 null,表示取不到有效值。
*/
Region: string;
/**
* 集群名称
注意:此字段可能返回 null,表示取不到有效值。
*/
ClusterName: string;
/**
* 集群版本
注意:此字段可能返回 null,表示取不到有效值。
*/
K8SVersion: string;
/**
* 私有网络ID
注意:此字段可能返回 null,表示取不到有效值。
*/
VpcId: string;
/**
* 描述
注意:此字段可能返回 null,表示取不到有效值。
*/
ClusterDesc: string;
/**
* 集群状态
注意:此字段可能返回 null,表示取不到有效值。
*/
Status: string;
/**
* 创建时间
注意:此字段可能返回 null,表示取不到有效值。
*/
CreateTime: string;
/**
* pod cidr
注意:此字段可能返回 null,表示取不到有效值。
*/
PodCIDR: string;
/**
* service cidr
注意:此字段可能返回 null,表示取不到有效值。
*/
ServiceCIDR: string;
/**
* 边缘版本类型
注意:此字段可能返回 null,表示取不到有效值。
*/
EdgeClusterVersion: string;
/**
* 用户ID
注意:此字段可能返回 null,表示取不到有效值。
*/
UID: string;
}
/**
* CreateUserToken返回参数结构体
*/
export interface CreateUserTokenResponse {
/**
* 无
*/
Token: string;
/**
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
*/
RequestId?: string;
}
/**
* DeleteSecret请求参数结构体
*/
export interface DeleteSecretRequest {
/**