model

package
v0.1.90 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessConfig

type AccessConfig struct {
	ProtocolType *ValueInAttributes `json:"protocol_type"`

	ProtocolName *ValueInAttributes `json:"protocol_name,omitempty"`

	SlaveId *ValueInAttributes `json:"slave_id,omitempty"`

	Ip *ValueInAttributes `json:"ip,omitempty"`

	Port *ValueInAttributes `json:"port,omitempty"`

	SerialPort *ValueInAttributes `json:"serial_port,omitempty"`

	BaudRate *ValueInAttributes `json:"baud_rate,omitempty"`

	DataBits *ValueInAttributes `json:"data_bits,omitempty"`

	StopBits *ValueInAttributes `json:"stop_bits,omitempty"`

	ParityBits *ValueInAttributes `json:"parity_bits,omitempty"`

	Url *ValueInAttributes `json:"url,omitempty"`

	SecMode *ValueInAttributes `json:"sec_mode,omitempty"`

	SecPolicy *ValueInAttributes `json:"sec_policy,omitempty"`

	AuthType *ValueInAttributes `json:"auth_type,omitempty"`

	Username *ValueInAttributes `json:"username,omitempty"`

	Password *ValueInAttributes `json:"password,omitempty"`

	PrivateKey *ValueInAttributes `json:"private_key,omitempty"`

	Certificate *ValueInAttributes `json:"certificate,omitempty"`

	Timeout *ValueInAttributes `json:"timeout,omitempty"`
}

AccessConfig 访问配置,与access_protocol直接关联

func (AccessConfig) String

func (o AccessConfig) String() string

type Action

type Action struct {

	// 启用,停用边缘节点,支持start/stop
	Action string `json:"action"`
}

Action 节点

func (Action) String

func (o Action) String() string

type Affinity

type Affinity struct {
	NodeAffinity *AffinityNodeAffinity `json:"nodeAffinity,omitempty"`

	PodAffinity *AffinityPodAffinity `json:"podAffinity,omitempty"`

	PodAntiAffinity *AffinityPodAntiAffinity `json:"podAntiAffinity,omitempty"`
}

Affinity 应用实例亲和性规则,仅铂金版支持

func (Affinity) String

func (o Affinity) String() string

type AffinityNodeAffinity

type AffinityNodeAffinity struct {

	// 优先使用定义的规则调度,且不会影响已经在节点上运行的Pod。即优先选择调度到满足规则的节点,但也可能会调度到不满足规则的节点。
	PreferredDuringSchedulingIgnoredDuringExecution *[]PreferredSchedulingTerm `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`

	RequiredDuringSchedulingIgnoredDuringExecution *RequiredDuringScheduling `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
}

AffinityNodeAffinity 节点亲和规则

func (AffinityNodeAffinity) String

func (o AffinityNodeAffinity) String() string

type AffinityPodAffinity

type AffinityPodAffinity struct {

	// 优先使用定义的规则调度,且不会影响已经在节点上运行的Pod。即优先选择调度到满足规则的节点,但也可能会调度到不满足规则的节点。
	PreferredDuringSchedulingIgnoredDuringExecution *[]WeightPodAffinityTerms `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`

	// 强制使用定义的规则调度,且不会影响已经在节点上运行的Pod。即强制选择调度到满足规则的节点,不会调度到不满足规则的节点。
	RequiredDuringSchedulingIgnoredDuringExecution *[]PodAffinityTerm `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
}

AffinityPodAffinity Pod亲和规则

func (AffinityPodAffinity) String

func (o AffinityPodAffinity) String() string

type AffinityPodAntiAffinity

type AffinityPodAntiAffinity struct {

	// 优先使用定义的规则调度,且不会影响已经在节点上运行的Pod。即优先选择调度到满足规则的节点,但也可能会调度到不满足规则的节点。
	PreferredDuringSchedulingIgnoredDuringExecution *[]WeightPodAffinityTerms `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`

	// 强制使用定义的规则调度,且不会影响已经在节点上运行的Pod。即强制选择调度到满足规则的节点,不会调度到不满足规则的节点。
	RequiredDuringSchedulingIgnoredDuringExecution *[]PodAffinityTerm `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
}

AffinityPodAntiAffinity Pod反亲和规则

func (AffinityPodAntiAffinity) String

func (o AffinityPodAntiAffinity) String() string

type Annotations

type Annotations struct {

	// 生成ranktablefile。该参数目前只支持赋值\"ascend-1980\",指昇腾D910。
	RingController *string `json:"ring_controller,omitempty"`

	// 离线自愈功能配置字段,须填写调度的节点组id
	AutonomyEdgeSelector *string `json:"autonomy_edge_selector,omitempty"`
}

Annotations 应用扩展功能配置选项

func (Annotations) String

func (o Annotations) String() string

type App

type App struct {
	App *AppDetail `json:"app"`
}

App 应用模板

func (App) String

func (o App) String() string

type AppConfigs added in v0.0.96

type AppConfigs struct {

	// 默认为false,表示是否开启特权模式
	Privileged *bool `json:"privileged,omitempty"`

	// 容器运行用户ID,输入范围为0~65534的整数
	RunAsUser *int32 `json:"run_as_user,omitempty"`

	// 默认为true,其中true表示主机网络,而false表示端口映射
	HostNetwork *bool `json:"host_network,omitempty"`

	// 应用实例重启模式: - Always:当容器终止退出后,总是重启容器 - Onfailure:容器异常退出(退出码非0)时才重启容器 - Never:容器终止退出后,不重启容器
	RestartPolicy *string `json:"restart_policy,omitempty"`

	// 容器端口映射值
	Ports *[]Ports `json:"ports,omitempty"`

	// 应用实例是否与主机共PID命名空间,默认值false
	HostPid *bool `json:"host_pid,omitempty"`

	// 应用实例DNS策略,可选值Default、ClusterFirst、ClusterFirstWithHostNet,默认为Default。应用实例启用主机网络时只能选填Default、ClusterFirstWithHostNet,不启用主机网络时只能选填Default、ClusterFirst
	DnsPolicy *string `json:"dns_policy,omitempty"`
}

AppConfigs 应用模板网络参数配置

func (AppConfigs) String added in v0.0.96

func (o AppConfigs) String() string

type AppDetail

type AppDetail struct {

	// 应用模板名称,只允许英文小写字母、数字、中划线,最大长度32, 英文小写字母或数字开头和结尾 Name为必填字段
	Name string `json:"name"`

	// 应用模板别名,中文英文字母、数字、中划线、下划线,最大64字符
	Alias *string `json:"alias,omitempty"`

	// 应用模板描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description *string `json:"description,omitempty"`

	// 应用图标存储url地址,最大长度2083
	IconUrl *string `json:"icon_url,omitempty"`

	// 应用模板标签
	Tags *[]NodeResTag `json:"tags,omitempty"`
}

AppDetail 应用模板配置

func (AppDetail) String

func (o AppDetail) String() string

type AppResp

type AppResp struct {

	// 应用模板ID
	Id string `json:"id"`

	// 应用模板名称,只允许英文小写字母、数字、中划线,最大长度32, 英文小写字母或数字开头和结尾 Name为必填字段,且本租户中唯一
	Name string `json:"name"`

	// 应用模板别名,中文英文字母、数字、中划线、下划线,最大64字符
	Alias string `json:"alias"`

	// 应用模板描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description string `json:"description"`

	// 应用图标存储url地址,最大长度2083
	IconUrl string `json:"icon_url"`

	// 创建时间
	CreatedAt string `json:"created_at"`

	// 更新时间
	UpdatedAt string `json:"updated_at"`

	// 项目ID
	ProjectId string `json:"project_id"`

	// 模板类型
	Visibility string `json:"visibility"`

	// app详情
	AppVersions []AppVersionDetail `json:"app_versions"`
}

AppResp 应用模板配置

func (AppResp) String

func (o AppResp) String() string

type AppResponse

type AppResponse struct {

	// 应用模板ID
	Id string `json:"id"`

	// 应用模板名称,只允许英文小写字母、数字、中划线,最大长度32, 英文小写字母或数字开头和结尾 Name为必填字段,且本租户中唯一
	Name string `json:"name"`

	// 应用模板别名,中文英文字母、数字、中划线、下划线,最大64字符
	Alias string `json:"alias"`

	// 应用模板描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description string `json:"description"`

	// 应用图标存储url地址,最大长度2083
	IconUrl string `json:"icon_url"`

	// 创建时间
	CreatedAt string `json:"created_at"`

	// 项目ID
	ProjectId string `json:"project_id"`

	// 模板类型
	Visibility string `json:"visibility"`

	// app详情
	AppVersions []AppVersionDetail `json:"app_versions"`
}

AppResponse 应用模板配置

func (AppResponse) String

func (o AppResponse) String() string

type AppUpdate

type AppUpdate struct {

	// 应用模板别名,中文、英文字母、数字、中划线、下划线,最大64字符
	Alias *string `json:"alias,omitempty"`

	// 应用模板描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description *string `json:"description,omitempty"`
}

func (AppUpdate) String

func (o AppUpdate) String() string

type AppVersionDetail

type AppVersionDetail struct {

	// 应用版本ID
	Id *string `json:"id,omitempty"`

	// 应用版本号
	Version *string `json:"version,omitempty"`

	// 创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间 只有更新后才会出现该字段
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 镜像存储地址
	ImageUrl *string `json:"image_url,omitempty"`

	// 环境变量
	Envs []Env `json:"envs"`

	// 卷配置
	Volumes []Volumes `json:"volumes"`

	Configs *AppConfigs `json:"configs,omitempty"`

	Resources *Resources `json:"resources,omitempty"`

	// 架构
	Arch *string `json:"arch,omitempty"`

	// 启动命令
	Command *[]string `json:"command,omitempty"`

	// 参数
	Args *[]string `json:"args,omitempty"`

	LivenessProbe *ProbeDetail `json:"liveness_probe,omitempty"`

	ReadinessProbe *ProbeDetail `json:"readiness_probe,omitempty"`

	// NPU芯片类型,可填:D310,D910
	NpuType *string `json:"npu_type,omitempty"`
}

AppVersionDetail app详情

func (AppVersionDetail) String

func (o AppVersionDetail) String() string

type Attributes

type Attributes struct {

	// 节点属性的key值,长度取值范围为1~128, 仅允许大小写英文字母、数字、下划线、中划线
	Key *string `json:"key,omitempty"`

	// 节点属性的value值,长度取值范围为1~256, 仅允许大小写英文字母、数字、下划线、中划线
	Value *string `json:"value,omitempty"`
}

Attributes 节点属性

func (Attributes) String

func (o Attributes) String() string

type BachTags

type BachTags struct {

	// 标签列表
	Tags *[]ResourceTag `json:"tags,omitempty"`

	// 操作标识:仅限于create(创建)、delete(删除)
	Action string `json:"action"`
}

func (BachTags) String

func (o BachTags) String() string

type BatchAddDeleteTagsRequest

type BatchAddDeleteTagsRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 资源类型 - ief-edge_node - ief-deployment - ief-application - ief-device
	ResourceType string `json:"resource_type"`

	// 资源ID
	ResourceId string `json:"resource_id"`

	Body *BachTags `json:"body,omitempty"`
}

BatchAddDeleteTagsRequest Request Object

func (BatchAddDeleteTagsRequest) String

func (o BatchAddDeleteTagsRequest) String() string

type BatchAddDeleteTagsResponse

type BatchAddDeleteTagsResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

BatchAddDeleteTagsResponse Response Object

func (BatchAddDeleteTagsResponse) String

type BatchJobForList added in v0.1.14

type BatchJobForList struct {

	// 批量处理作业ID
	JobId *string `json:"job_id,omitempty"`

	// 批量处理作业名称
	JobName *string `json:"job_name,omitempty"`

	// 批量处理作业类型,支持以下选项: - node_upgrade: 节点升级 - deployment_deploy:应用部署 - deployment_upgrade:应用升级
	JobType *string `json:"job_type,omitempty"`

	// 创建时间戳
	CreatedAt *int32 `json:"created_at,omitempty"`

	// 执行状态
	Status *string `json:"status,omitempty"`

	// 任务总数
	TaskTotalCount *int32 `json:"task_total_count,omitempty"`

	// 任务项执行成功数
	TaskSuccessCount *int32 `json:"task_success_count,omitempty"`

	// 任务项执行失败数
	TaskFailedCount *int32 `json:"task_failed_count,omitempty"`

	// 状态更新时间戳
	StatusLastUpdatedAt *int32 `json:"status_last_updated_at,omitempty"`

	// 任务描述
	Description *string `json:"description,omitempty"`
}

BatchJobForList 批量处理作业详情

func (BatchJobForList) String added in v0.1.14

func (o BatchJobForList) String() string

type BatchJobRequest added in v0.1.14

type BatchJobRequest struct {

	// 批量作业名称,允许输入小写字母,数字,中划线,不能以中划线开头或结尾,最大长度为26位
	JobName string `json:"job_name"`

	// 批量作业类型,支持以下选项: - node_upgrade: 节点升级 - deployment_deploy:应用部署 - deployment_upgrade:应用升级
	JobType string `json:"job_type"`

	JobContent *JobContentInfo `json:"job_content,omitempty"`

	// 批量作业描述
	Description *string `json:"description,omitempty"`

	// 批量作业标签
	Tags *[]Attributes `json:"tags,omitempty"`
}

BatchJobRequest 批量作业参数

func (BatchJobRequest) String added in v0.1.14

func (o BatchJobRequest) String() string

type Cert

type Cert struct {

	// 证书名称
	Name string `json:"name"`

	// 证书描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description *string `json:"description,omitempty"`

	// 证书类型,包含: - application:应用证书 - device:设备证书
	Type string `json:"type"`
}

Cert 证书属性配置

func (Cert) String

func (o Cert) String() string

type ConfigMap

type ConfigMap struct {

	// 配置项名称,以小写英文字母开头,4-64位,可以使用小写英文、数字、中划线(-),不能以中划线结尾只允许中文字符、英文字母、数字、下划线、中划线,最大长度64
	Name string `json:"name"`

	// 配置项描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description *string `json:"description,omitempty"`

	// configs是一个字典,由多个键值对组成,json化后最大总长度为1048576,key和value均为字符串。键值对中key由大小写字母或中划线开头,由数字、大小写字母、点号(.)、中划线(-)、下划线(_)组成,最小长度为1,最大长度63个字符, 键值对中的value无其它限制。 注:configs字典的长度即字典转为标准的字符串后的长度,例如字典{\"a\": \"b\"}转为标准字符串后为'{\"a\": \"b\"}',长度为10
	Configs map[string]string `json:"configs,omitempty"`
}

ConfigMap 配置项

func (ConfigMap) String

func (o ConfigMap) String() string

type ConfigMapResp

type ConfigMapResp struct {

	// 配置项ID
	Id string `json:"id"`

	// 配置项名称
	Name string `json:"name"`

	// 配置项描述
	Description string `json:"description"`

	// 配置项键列表
	Configs map[string]string `json:"configs"`

	// 项目ID
	ProjectId string `json:"project_id"`

	// 创建时间
	CreatedAt string `json:"created_at"`

	// 更新时间
	UpdatedAt string `json:"updated_at"`
}

ConfigMapResp 配置项

func (ConfigMapResp) String

func (o ConfigMapResp) String() string

type ConfigMaps

type ConfigMaps struct {
	Configmap *ConfigMap `json:"configmap"`
}

func (ConfigMaps) String

func (o ConfigMaps) String() string

type ConfigsMap

type ConfigsMap struct {

	// 配置项的名称
	Name string `json:"name"`

	// 配置项的属性名
	Key string `json:"key"`
}

ConfigsMap 环境变量引用配置项时使用。

func (ConfigsMap) String

func (o ConfigsMap) String() string

type ContainerDef

type ContainerDef struct {

	// 容器名称,只允许英文小写字母、数字、中划线,最大长度32, 英文小写字母或数字开头和结尾
	Name string `json:"name"`

	// 容器镜像URL
	ImageUrl string `json:"image_url"`

	// 容器启动参数,字符总长度最大为65536
	Args *[]string `json:"args,omitempty"`

	// 容器启动命令,字符总长度最大为65536。 command支持使用数组定义多条命令,但在IEF控制台界面只会显示第一条命令。
	Command *[]string `json:"command,omitempty"`

	Resources *DeploymentResources `json:"resources,omitempty"`

	// 环境变量
	Envs *[]Env `json:"envs,omitempty"`

	// 容器端口映射值
	Ports *[]HostContainerPortMapping `json:"ports,omitempty"`

	// 是否启用特权容器,默认值false
	Privileged *bool `json:"privileged,omitempty"`

	// 容器运行用户ID,输入范围为0~65534的整数
	RunAsUser *int32 `json:"run_as_user,omitempty"`

	ReadinessProbe *Probe `json:"readiness_probe,omitempty"`

	LivenessProbe *Probe `json:"liveness_probe,omitempty"`

	// 容器镜像版本
	Version *string `json:"version,omitempty"`

	// 卷配置
	Volumes *[]Volumes `json:"volumes,omitempty"`

	// NPU类型,支持D310类型和D910类型。 - D310表示D310类型。 - D910表示D910类型。 - 不填表示为D310类型。
	NpuType *string `json:"npu_type,omitempty"`
}

func (ContainerDef) String

func (o ContainerDef) String() string

type ContainerResp

type ContainerResp struct {

	// 容器启动参数,字符总长度最大为65536
	Args *[]string `json:"args,omitempty"`

	// 容器启动命令,字符总长度最大为65536。 command支持使用数组定义多条命令,但在IEF控制台界面只会显示第一条命令。
	Command *[]string `json:"command,omitempty"`

	// 容器名称,只允许英文小写字母、数字、中划线,最大长度32, 英文小写字母或数字开头和结尾
	Name string `json:"name"`

	// 环境变量
	Envs *[]EnvPods `json:"envs,omitempty"`

	// 容器镜像URL
	ImageUrl string `json:"image_url"`

	// 容器镜像版本
	Version *string `json:"version,omitempty"`

	LivenessProbe *Probe `json:"liveness_probe,omitempty"`

	ReadinessProbe *Probe `json:"readiness_probe,omitempty"`

	// 容器端口映射值
	Ports *[]HostContainerPort `json:"ports,omitempty"`

	Resources *DeploymentResources `json:"resources,omitempty"`

	// 卷配置
	Volumes *[]Volumes `json:"volumes,omitempty"`

	// 容器重启次数
	Restarts *int64 `json:"restarts,omitempty"`

	// 容器故障详情
	Message *string `json:"message,omitempty"`

	// 容器故障原因
	Reason *string `json:"reason,omitempty"`

	// 健康检查结果
	IsReady *string `json:"is_ready,omitempty"`

	// 是否启用特权容器,默认值false
	Privileged *bool `json:"privileged,omitempty"`

	// 容器ID
	ContainerId *string `json:"container_id,omitempty"`

	// 容器状态
	State *string `json:"state,omitempty"`

	// NPU类型,支持D310类型和D910类型。 - D310表示D310类型。 - D910表示D910类型。 - 不填表示为D310类型。
	NpuType *string `json:"npu_type,omitempty"`
}

func (ContainerResp) String

func (o ContainerResp) String() string

type CreateAppRequest

type CreateAppRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *App `json:"body,omitempty"`
}

CreateAppRequest Request Object

func (CreateAppRequest) String

func (o CreateAppRequest) String() string

type CreateAppResponse

type CreateAppResponse struct {
	App            *AppResponse `json:"app,omitempty"`
	HttpStatusCode int          `json:"-"`
}

CreateAppResponse Response Object

func (CreateAppResponse) String

func (o CreateAppResponse) String() string

type CreateAppVersionsRequest

type CreateAppVersionsRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 应用模板ID
	AppId string `json:"app_id"`

	Body *Version `json:"body,omitempty"`
}

CreateAppVersionsRequest Request Object

func (CreateAppVersionsRequest) String

func (o CreateAppVersionsRequest) String() string

type CreateAppVersionsResponse

type CreateAppVersionsResponse struct {
	Version        *AppVersionDetail `json:"version,omitempty"`
	HttpStatusCode int               `json:"-"`
}

CreateAppVersionsResponse Response Object

func (CreateAppVersionsResponse) String

func (o CreateAppVersionsResponse) String() string

type CreateAppsInDeploymentV3

type CreateAppsInDeploymentV3 struct {

	// 副本数量
	Replicas int32 `json:"replicas"`

	Template *PodRequest `json:"template"`

	Annotations *Annotations `json:"annotations,omitempty"`
}

CreateAppsInDeploymentV3 部署参数配置

func (CreateAppsInDeploymentV3) String

func (o CreateAppsInDeploymentV3) String() string

type CreateBatchJobRequest added in v0.1.14

type CreateBatchJobRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *BatchJobRequest `json:"body,omitempty"`
}

CreateBatchJobRequest Request Object

func (CreateBatchJobRequest) String added in v0.1.14

func (o CreateBatchJobRequest) String() string

type CreateBatchJobResponse added in v0.1.14

type CreateBatchJobResponse struct {

	// 批量处理作业ID
	JobId *string `json:"job_id,omitempty"`

	// 批量处理作业名称
	JobName *string `json:"job_name,omitempty"`

	// 批量处理作业创建时间戳
	CreatedAt      *int32 `json:"created_at,omitempty"`
	HttpStatusCode int    `json:"-"`
}

CreateBatchJobResponse Response Object

func (CreateBatchJobResponse) String added in v0.1.14

func (o CreateBatchJobResponse) String() string

type CreateConfigMapRequest

type CreateConfigMapRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *ConfigMaps `json:"body,omitempty"`
}

CreateConfigMapRequest Request Object

func (CreateConfigMapRequest) String

func (o CreateConfigMapRequest) String() string

type CreateConfigMapResponse

type CreateConfigMapResponse struct {
	Configmap      *ConfigMapResp `json:"configmap,omitempty"`
	HttpStatusCode int            `json:"-"`
}

CreateConfigMapResponse Response Object

func (CreateConfigMapResponse) String

func (o CreateConfigMapResponse) String() string

type CreateDeploymentsRequest

type CreateDeploymentsRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *Deployment `json:"body,omitempty"`
}

CreateDeploymentsRequest Request Object

func (CreateDeploymentsRequest) String

func (o CreateDeploymentsRequest) String() string

type CreateDeploymentsResponse

type CreateDeploymentsResponse struct {

	// 应用部署uuid
	Id *string `json:"id,omitempty"`

	// 应用部署名称,只允许英文小写字母、数字、中划线,最大长度32, 英文小写字母或数字开头和结尾
	Name *string `json:"name,omitempty"`

	// 应用部署总副本数
	Replicas *int32 `json:"replicas,omitempty"`

	// 应用部署正常副本数
	ReadyReplicas *int32 `json:"ready_replicas,omitempty"`

	// 应用部署描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description *string `json:"description,omitempty"`

	// 应用部署到指定节点组,与node_ids二选一
	GroupId *string `json:"group_id,omitempty"`

	// 应用部署到指定节点,当前只支持一个边缘节点
	NodeIds *[]string `json:"node_ids,omitempty"`

	// 节点属性
	Tags *[]Attributes `json:"tags,omitempty"`

	// 应用部署版本
	ApiVersion *string `json:"api_version,omitempty"`

	// 应用部署来源:边缘市场(iem)或自定义(userdefined)
	Source *string `json:"source,omitempty"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 应用部署创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 应用部署更新时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	Template *PodRequest `json:"template,omitempty"`

	// 应用状态,仅包括冻结(FREEZE)、删除中(PENDING_DELETE)、删除失败(DELETE_FAILED),保留字段
	State *string `json:"state,omitempty"`

	// 预留字段
	SourceId *string `json:"source_id,omitempty"`

	Annotations    *Annotations `json:"annotations,omitempty"`
	HttpStatusCode int          `json:"-"`
}

CreateDeploymentsResponse Response Object

func (CreateDeploymentsResponse) String

func (o CreateDeploymentsResponse) String() string

type CreateDeviceRequest

type CreateDeviceRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *EdgemgrDevices `json:"body,omitempty"`
}

CreateDeviceRequest Request Object

func (CreateDeviceRequest) String

func (o CreateDeviceRequest) String() string

type CreateDeviceResponse

type CreateDeviceResponse struct {
	Device         *Device `json:"device,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateDeviceResponse Response Object

func (CreateDeviceResponse) String

func (o CreateDeviceResponse) String() string

type CreateDeviceTemplateRequest

type CreateDeviceTemplateRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *DeviceTemplate `json:"body,omitempty"`
}

CreateDeviceTemplateRequest Request Object

func (CreateDeviceTemplateRequest) String

type CreateDeviceTemplateResponse

type CreateDeviceTemplateResponse struct {
	DeviceTemplate *EdgemgrDevice `json:"device_template,omitempty"`
	HttpStatusCode int            `json:"-"`
}

CreateDeviceTemplateResponse Response Object

func (CreateDeviceTemplateResponse) String

type CreateEdgeGroupCertRequest added in v0.1.14

type CreateEdgeGroupCertRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 边缘节点组ID
	GroupId string `json:"group_id"`

	Body *EdgeGroupCertRequest `json:"body,omitempty"`
}

CreateEdgeGroupCertRequest Request Object

func (CreateEdgeGroupCertRequest) String added in v0.1.14

type CreateEdgeGroupCertResponse added in v0.1.14

type CreateEdgeGroupCertResponse struct {

	// 证书ID
	Id *string `json:"id,omitempty"`

	// 证书名称
	Name *string `json:"name,omitempty"`

	// 证书描述
	Description *string `json:"description,omitempty"`

	// 创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 证书绑定的边缘节点组ID
	GroupId *string `json:"group_id,omitempty"`

	// 证书是否处于删除中
	IsDeleted *bool `json:"is_deleted,omitempty"`

	// 证书所属账号的项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 证书类型,包含: - system:创建节点时会默认创建一套系统证书 - application:应用证书 - device:设备证书
	Type *string `json:"type,omitempty"`

	// 证书序列号
	SerialNum *string `json:"serial_num,omitempty"`

	// 根证书
	Ca *string `json:"ca,omitempty"`

	// 证书
	Certificate *string `json:"certificate,omitempty"`

	// 私钥
	PrivateKey *string `json:"private_key,omitempty"`

	// 将证书文件certificate/ca/private_key打成.tar.gz包后用base64编码的字符串。 使用时请使用base64解码成.tar.gz包。
	Package *string `json:"package,omitempty"`

	// 证书有效期持续时间
	CertRemainingValidTime *int32 `json:"cert_remaining_valid_time,omitempty"`
	HttpStatusCode         int    `json:"-"`
}

CreateEdgeGroupCertResponse Response Object

func (CreateEdgeGroupCertResponse) String added in v0.1.14

type CreateEdgeGroupRequest added in v0.1.14

type CreateEdgeGroupRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *EdgeGroupRequest `json:"body,omitempty"`
}

CreateEdgeGroupRequest Request Object

func (CreateEdgeGroupRequest) String added in v0.1.14

func (o CreateEdgeGroupRequest) String() string

type CreateEdgeGroupResponse added in v0.1.14

type CreateEdgeGroupResponse struct {

	// 边缘节点组ID
	Id *string `json:"id,omitempty"`

	// 边缘节点组名称,小写英文字母、数字、中划线,以小写字母或数字开头,最大长度为32个字符,不能为空
	Name *string `json:"name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 边缘节点组所属的项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 边缘节点组所属账号的IAM权限,没有铂金版权限的账号无法使用节点组功能
	IamRole *string `json:"iam_role,omitempty"`

	// 边缘节点组CPU总数,为边缘节点组所绑定的边缘节点的CPU数目之和
	Cpu *int32 `json:"cpu,omitempty"`

	// 边缘节点组内存总数,为边缘节点组所绑定的边缘节点的内存之和
	Memory *int32 `json:"memory,omitempty"`

	// 边缘节点组GPU总数,为边缘节点组所绑定的边缘节点的GPU数目之和
	GpuNum *int32 `json:"gpu_num,omitempty"`

	// 绑定的边缘节点详情
	Nodes *[]EdgeNodeResp `json:"nodes,omitempty"`

	// 绑定的边缘应用详情
	Deployments *[]GroupDeployment `json:"deployments,omitempty"`

	// 属性
	Attributes *[]Attributes `json:"attributes,omitempty"`

	// 标签
	Tags *[]Attributes `json:"tags,omitempty"`

	// 绑定操作成功的节点ID列表
	SuccessNodeAdd *[]string `json:"success_node_add,omitempty"`

	// 解绑操作成功的节点ID列表
	SuccessNodeDel *[]string `json:"success_node_del,omitempty"`

	// 绑定操作失败的节点ID列表
	FailedNodeAdd *[]string `json:"failed_node_add,omitempty"`

	// 解绑操作失败的节点ID列表
	FailedNodeDel  *[]string `json:"failed_node_del,omitempty"`
	HttpStatusCode int       `json:"-"`
}

CreateEdgeGroupResponse Response Object

func (CreateEdgeGroupResponse) String added in v0.1.14

func (o CreateEdgeGroupResponse) String() string

type CreateEdgeNodeCertsRequest

type CreateEdgeNodeCertsRequest struct {

	// 边缘节点ID
	NodeId string `json:"node_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *Cert `json:"body,omitempty"`
}

CreateEdgeNodeCertsRequest Request Object

func (CreateEdgeNodeCertsRequest) String

type CreateEdgeNodeCertsResponse

type CreateEdgeNodeCertsResponse struct {

	// 证书id
	Id *string `json:"id,omitempty"`

	// 证书名称
	Name *string `json:"name,omitempty"`

	// 证书的描述
	Description *string `json:"description,omitempty"`

	// 证书的创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 节点id
	NodeId *string `json:"node_id,omitempty"`

	// 证书类型,包含: - system:创建节点时会默认创建一套系统证书 - application:应用证书 - device:设备证书
	Type *string `json:"type,omitempty"`

	// 证书序列号
	SerialNum *string `json:"serial_num,omitempty"`

	// 根证书
	Ca *string `json:"ca,omitempty"`

	// 证书
	Certificate *string `json:"certificate,omitempty"`

	// 私钥
	PrivateKey *string `json:"private_key,omitempty"`

	// 将证书文件certificate/ca/private_key打成.tar.gz包后用base64编码的字符串。 使用时请使用base64解码成.tar.gz包。
	Package        *string `json:"package,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateEdgeNodeCertsResponse Response Object

func (CreateEdgeNodeCertsResponse) String

type CreateEdgeNodeRequest

type CreateEdgeNodeRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *Node `json:"body,omitempty"`
}

CreateEdgeNodeRequest Request Object

func (CreateEdgeNodeRequest) String

func (o CreateEdgeNodeRequest) String() string

type CreateEdgeNodeResponse

type CreateEdgeNodeResponse struct {
	Node           *EdgeNodeResp `json:"node,omitempty"`
	HttpStatusCode int           `json:"-"`
}

CreateEdgeNodeResponse Response Object

func (CreateEdgeNodeResponse) String

func (o CreateEdgeNodeResponse) String() string

type CreateEncryptdatasRequest added in v0.1.5

type CreateEncryptdatasRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *EncryptDataReq `json:"body,omitempty"`
}

CreateEncryptdatasRequest Request Object

func (CreateEncryptdatasRequest) String added in v0.1.5

func (o CreateEncryptdatasRequest) String() string

type CreateEncryptdatasResponse added in v0.1.5

type CreateEncryptdatasResponse struct {
	EncryptData    *EncryptData `json:"encrypt_data,omitempty"`
	HttpStatusCode int          `json:"-"`
}

CreateEncryptdatasResponse Response Object

func (CreateEncryptdatasResponse) String added in v0.1.5

type CreateEndpointRequest

type CreateEndpointRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *Endpoint `json:"body,omitempty"`
}

CreateEndpointRequest Request Object

func (CreateEndpointRequest) String

func (o CreateEndpointRequest) String() string

type CreateEndpointResponse

type CreateEndpointResponse struct {
	Endpoint       *EndpointObjResp `json:"endpoint,omitempty"`
	HttpStatusCode int              `json:"-"`
}

CreateEndpointResponse Response Object

func (CreateEndpointResponse) String

func (o CreateEndpointResponse) String() string

type CreateNodeEncryptdatasRequest added in v0.1.5

type CreateNodeEncryptdatasRequest struct {

	// 边缘节点ID
	NodeId string `json:"node_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *EncryptDataNodeReq `json:"body,omitempty"`
}

CreateNodeEncryptdatasRequest Request Object

func (CreateNodeEncryptdatasRequest) String added in v0.1.5

type CreateNodeEncryptdatasResponse added in v0.1.5

type CreateNodeEncryptdatasResponse struct {
	HttpStatusCode int `json:"-"`
}

CreateNodeEncryptdatasResponse Response Object

func (CreateNodeEncryptdatasResponse) String added in v0.1.5

type CreateProductRequest added in v0.1.14

type CreateProductRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *ProductCreateRequest `json:"body,omitempty"`
}

CreateProductRequest Request Object

func (CreateProductRequest) String added in v0.1.14

func (o CreateProductRequest) String() string

type CreateProductResponse added in v0.1.14

type CreateProductResponse struct {
	Product        *ProductResponse `json:"product,omitempty"`
	HttpStatusCode int              `json:"-"`
}

CreateProductResponse Response Object

func (CreateProductResponse) String added in v0.1.14

func (o CreateProductResponse) String() string

type CreateRuleRequest

type CreateRuleRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *RuleDetail `json:"body,omitempty"`
}

CreateRuleRequest Request Object

func (CreateRuleRequest) String

func (o CreateRuleRequest) String() string

type CreateRuleResponse

type CreateRuleResponse struct {
	Rule           *RuleResponse `json:"rule,omitempty"`
	HttpStatusCode int           `json:"-"`
}

CreateRuleResponse Response Object

func (CreateRuleResponse) String

func (o CreateRuleResponse) String() string

type CreateSecretRequest

type CreateSecretRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *Secret `json:"body,omitempty"`
}

CreateSecretRequest Request Object

func (CreateSecretRequest) String

func (o CreateSecretRequest) String() string

type CreateSecretResponse

type CreateSecretResponse struct {
	Secret         *SecretDetailResp `json:"secret,omitempty"`
	HttpStatusCode int               `json:"-"`
}

CreateSecretResponse Response Object

func (CreateSecretResponse) String

func (o CreateSecretResponse) String() string

type CreateServiceRequest

type CreateServiceRequest struct {

	// 铂金版实例ID
	IefInstanceId string `json:"ief-instance-id"`

	Body *Service `json:"body,omitempty"`
}

CreateServiceRequest Request Object

func (CreateServiceRequest) String

func (o CreateServiceRequest) String() string

type CreateServiceResponse

type CreateServiceResponse struct {
	Service        *ServiceRespDetail `json:"service,omitempty"`
	HttpStatusCode int                `json:"-"`
}

CreateServiceResponse Response Object

func (CreateServiceResponse) String

func (o CreateServiceResponse) String() string

type CreateSystemEventRequest added in v0.1.14

type CreateSystemEventRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *EventCreateReq `json:"body,omitempty"`
}

CreateSystemEventRequest Request Object

func (CreateSystemEventRequest) String added in v0.1.14

func (o CreateSystemEventRequest) String() string

type CreateSystemEventResponse added in v0.1.14

type CreateSystemEventResponse struct {
	Systemevent    *Event `json:"systemevent,omitempty"`
	HttpStatusCode int    `json:"-"`
}

CreateSystemEventResponse Response Object

func (CreateSystemEventResponse) String added in v0.1.14

func (o CreateSystemEventResponse) String() string

type CreateTagRequest

type CreateTagRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 资源ID
	ResourceId string `json:"resource_id"`

	// 资源类型 1. ief-edge_node 2. ief-deployment 3. ief-application 4. ief-device
	ResourceType string `json:"resource_type"`

	Body *CreateTagRequestBody `json:"body,omitempty"`
}

CreateTagRequest Request Object

func (CreateTagRequest) String

func (o CreateTagRequest) String() string

type CreateTagRequestBody added in v0.0.96

type CreateTagRequestBody struct {
	Tag *ResourceTag `json:"tag"`
}

func (CreateTagRequestBody) String added in v0.0.96

func (o CreateTagRequestBody) String() string

type CreateTagResponse

type CreateTagResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateTagResponse Response Object

func (CreateTagResponse) String

func (o CreateTagResponse) String() string

type DeleteAppRequest

type DeleteAppRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 应用模板ID。
	AppId string `json:"app_id"`
}

DeleteAppRequest Request Object

func (DeleteAppRequest) String

func (o DeleteAppRequest) String() string

type DeleteAppResponse

type DeleteAppResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteAppResponse Response Object

func (DeleteAppResponse) String

func (o DeleteAppResponse) String() string

type DeleteAppVersionRequest

type DeleteAppVersionRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 应用ID
	AppId string `json:"app_id"`

	// 版本ID
	VersionId string `json:"version_id"`
}

DeleteAppVersionRequest Request Object

func (DeleteAppVersionRequest) String

func (o DeleteAppVersionRequest) String() string

type DeleteAppVersionResponse

type DeleteAppVersionResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteAppVersionResponse Response Object

func (DeleteAppVersionResponse) String

func (o DeleteAppVersionResponse) String() string

type DeleteBatchJobRequest added in v0.1.14

type DeleteBatchJobRequest struct {

	// 批量处理作业ID
	JobId string `json:"job_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

DeleteBatchJobRequest Request Object

func (DeleteBatchJobRequest) String added in v0.1.14

func (o DeleteBatchJobRequest) String() string

type DeleteBatchJobResponse added in v0.1.14

type DeleteBatchJobResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteBatchJobResponse Response Object

func (DeleteBatchJobResponse) String added in v0.1.14

func (o DeleteBatchJobResponse) String() string

type DeleteConfigMapRequest

type DeleteConfigMapRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 配置项ID
	ConfigmapId string `json:"configmap_id"`
}

DeleteConfigMapRequest Request Object

func (DeleteConfigMapRequest) String

func (o DeleteConfigMapRequest) String() string

type DeleteConfigMapResponse

type DeleteConfigMapResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteConfigMapResponse Response Object

func (DeleteConfigMapResponse) String

func (o DeleteConfigMapResponse) String() string

type DeleteDeploymentRequest

type DeleteDeploymentRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 应用部署ID
	DeploymentId string `json:"deployment_id"`

	// 是否强制删除。默认为false。
	ForceDelete *string `json:"force_delete,omitempty"`
}

DeleteDeploymentRequest Request Object

func (DeleteDeploymentRequest) String

func (o DeleteDeploymentRequest) String() string

type DeleteDeploymentResponse

type DeleteDeploymentResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteDeploymentResponse Response Object

func (DeleteDeploymentResponse) String

func (o DeleteDeploymentResponse) String() string

type DeleteDeviceRequest

type DeleteDeviceRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 终端设备ID
	DeviceId string `json:"device_id"`
}

DeleteDeviceRequest Request Object

func (DeleteDeviceRequest) String

func (o DeleteDeviceRequest) String() string

type DeleteDeviceResponse

type DeleteDeviceResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteDeviceResponse Response Object

func (DeleteDeviceResponse) String

func (o DeleteDeviceResponse) String() string

type DeleteDeviceTemplateRequest

type DeleteDeviceTemplateRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 设备模板ID
	DeviceTemplateId string `json:"device_template_id"`
}

DeleteDeviceTemplateRequest Request Object

func (DeleteDeviceTemplateRequest) String

type DeleteDeviceTemplateResponse

type DeleteDeviceTemplateResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteDeviceTemplateResponse Response Object

func (DeleteDeviceTemplateResponse) String

type DeleteEdgeGroupCertRequest added in v0.1.14

type DeleteEdgeGroupCertRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 边缘节点组ID
	GroupId string `json:"group_id"`

	// 边缘节点组证书ID
	GroupCertId string `json:"group_cert_id"`
}

DeleteEdgeGroupCertRequest Request Object

func (DeleteEdgeGroupCertRequest) String added in v0.1.14

type DeleteEdgeGroupCertResponse added in v0.1.14

type DeleteEdgeGroupCertResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteEdgeGroupCertResponse Response Object

func (DeleteEdgeGroupCertResponse) String added in v0.1.14

type DeleteEdgeGroupRequest added in v0.1.14

type DeleteEdgeGroupRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 边缘节点组ID
	GroupId string `json:"group_id"`
}

DeleteEdgeGroupRequest Request Object

func (DeleteEdgeGroupRequest) String added in v0.1.14

func (o DeleteEdgeGroupRequest) String() string

type DeleteEdgeGroupResponse added in v0.1.14

type DeleteEdgeGroupResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteEdgeGroupResponse Response Object

func (DeleteEdgeGroupResponse) String added in v0.1.14

func (o DeleteEdgeGroupResponse) String() string

type DeleteEdgeNodeCertsRequest

type DeleteEdgeNodeCertsRequest struct {

	// 边缘节点ID
	NodeId string `json:"node_id"`

	// 证书ID
	CertId string `json:"cert_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

DeleteEdgeNodeCertsRequest Request Object

func (DeleteEdgeNodeCertsRequest) String

type DeleteEdgeNodeCertsResponse

type DeleteEdgeNodeCertsResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteEdgeNodeCertsResponse Response Object

func (DeleteEdgeNodeCertsResponse) String

type DeleteEdgeNodeRequest

type DeleteEdgeNodeRequest struct {

	// 边缘节点ID
	NodeId string `json:"node_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

DeleteEdgeNodeRequest Request Object

func (DeleteEdgeNodeRequest) String

func (o DeleteEdgeNodeRequest) String() string

type DeleteEdgeNodeResponse

type DeleteEdgeNodeResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteEdgeNodeResponse Response Object

func (DeleteEdgeNodeResponse) String

func (o DeleteEdgeNodeResponse) String() string

type DeleteEncryptdatasRequest added in v0.1.5

type DeleteEncryptdatasRequest struct {

	// 加密数据ID
	EncryptdataId string `json:"encryptdata_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

DeleteEncryptdatasRequest Request Object

func (DeleteEncryptdatasRequest) String added in v0.1.5

func (o DeleteEncryptdatasRequest) String() string

type DeleteEncryptdatasResponse added in v0.1.5

type DeleteEncryptdatasResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteEncryptdatasResponse Response Object

func (DeleteEncryptdatasResponse) String added in v0.1.5

type DeleteEndPointRequest

type DeleteEndPointRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 端点ID
	EndpointId string `json:"endpoint_id"`
}

DeleteEndPointRequest Request Object

func (DeleteEndPointRequest) String

func (o DeleteEndPointRequest) String() string

type DeleteEndPointResponse

type DeleteEndPointResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteEndPointResponse Response Object

func (DeleteEndPointResponse) String

func (o DeleteEndPointResponse) String() string

type DeleteNodeEncryptdatasRequest added in v0.1.5

type DeleteNodeEncryptdatasRequest struct {

	// 边缘节点ID
	NodeId string `json:"node_id"`

	// 加密数据ID
	EncryptdataId string `json:"encryptdata_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

DeleteNodeEncryptdatasRequest Request Object

func (DeleteNodeEncryptdatasRequest) String added in v0.1.5

type DeleteNodeEncryptdatasResponse added in v0.1.5

type DeleteNodeEncryptdatasResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteNodeEncryptdatasResponse Response Object

func (DeleteNodeEncryptdatasResponse) String added in v0.1.5

type DeleteProductRequest added in v0.1.14

type DeleteProductRequest struct {

	// 批量节点注册作业ID
	ProductId string `json:"product_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

DeleteProductRequest Request Object

func (DeleteProductRequest) String added in v0.1.14

func (o DeleteProductRequest) String() string

type DeleteProductResponse added in v0.1.14

type DeleteProductResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteProductResponse Response Object

func (DeleteProductResponse) String added in v0.1.14

func (o DeleteProductResponse) String() string

type DeleteResourceTagRequest

type DeleteResourceTagRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 资源类型 - ief-edge_node - ief-deployment - ief-application - ief-device
	ResourceType string `json:"resource_type"`

	// 资源id
	ResourceId string `json:"resource_id"`

	// 标签key
	Key string `json:"key"`
}

DeleteResourceTagRequest Request Object

func (DeleteResourceTagRequest) String

func (o DeleteResourceTagRequest) String() string

type DeleteResourceTagResponse

type DeleteResourceTagResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteResourceTagResponse Response Object

func (DeleteResourceTagResponse) String

func (o DeleteResourceTagResponse) String() string

type DeleteRuleRequest

type DeleteRuleRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 规则ID
	RuleId string `json:"rule_id"`
}

DeleteRuleRequest Request Object

func (DeleteRuleRequest) String

func (o DeleteRuleRequest) String() string

type DeleteRuleResponse

type DeleteRuleResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteRuleResponse Response Object

func (DeleteRuleResponse) String

func (o DeleteRuleResponse) String() string

type DeleteSecretRequest

type DeleteSecretRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 密钥ID
	SecretId string `json:"secret_id"`
}

DeleteSecretRequest Request Object

func (DeleteSecretRequest) String

func (o DeleteSecretRequest) String() string

type DeleteSecretResponse

type DeleteSecretResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteSecretResponse Response Object

func (DeleteSecretResponse) String

func (o DeleteSecretResponse) String() string

type DeleteServiceRequest

type DeleteServiceRequest struct {

	// 服务ID
	ServiceId string `json:"service_id"`

	// 铂金版实例ID
	IefInstanceId string `json:"ief-instance-id"`
}

DeleteServiceRequest Request Object

func (DeleteServiceRequest) String

func (o DeleteServiceRequest) String() string

type DeleteServiceResponse

type DeleteServiceResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteServiceResponse Response Object

func (DeleteServiceResponse) String

func (o DeleteServiceResponse) String() string

type DeleteSystemEventRequest added in v0.1.14

type DeleteSystemEventRequest struct {

	// 系统订阅名称
	EventId string `json:"event_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

DeleteSystemEventRequest Request Object

func (DeleteSystemEventRequest) String added in v0.1.14

func (o DeleteSystemEventRequest) String() string

type DeleteSystemEventResponse added in v0.1.14

type DeleteSystemEventResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteSystemEventResponse Response Object

func (DeleteSystemEventResponse) String added in v0.1.14

func (o DeleteSystemEventResponse) String() string

type Deployment

type Deployment struct {

	// 部署名称,只允许英文小写字母、数字、中划线,最大长度32,英文小写字母或数字开头和结尾
	Name string `json:"name"`

	// 部署描述
	Description *string `json:"description,omitempty"`

	// 应用部署来源:边缘市场(iem)或自定义()
	Source *string `json:"source,omitempty"`

	// 应用部署到指定节点组,与node_ids二选一
	GroupId *string `json:"group_id,omitempty"`

	// 应用部署到指定节点,当前只支持一个边缘节点
	NodeIds []string `json:"node_ids"`

	// 节点属性
	Tags *[]Attributes `json:"tags,omitempty"`

	Deployment *CreateAppsInDeploymentV3 `json:"deployment"`
}

Deployment 部署参数配置

func (Deployment) String

func (o Deployment) String() string

type DeploymentResources

type DeploymentResources struct {

	// 允许容器使用的最大资源,key值支持填写:cpu, memory, gpu, npu, D310, D910
	Limits map[string]string `json:"limits,omitempty"`

	// 容器需要使用的最小资源,key值支持填写:cpu, memory, gpu, npu, D310, D910
	Requests map[string]string `json:"requests,omitempty"`
}

DeploymentResources 创建容器时使用的资源

func (DeploymentResources) String

func (o DeploymentResources) String() string

type DeploymentResp

type DeploymentResp struct {

	// 应用部署uuid
	Id string `json:"id"`

	// 应用部署名称,只允许英文小写字母、数字、中划线,最大长度32, 英文小写字母或数字开头和结尾
	Name string `json:"name"`

	// 应用部署总副本数
	Replicas *int32 `json:"replicas,omitempty"`

	// 应用部署正常副本数
	ReadyReplicas *int32 `json:"ready_replicas,omitempty"`

	// 应用部署描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description *string `json:"description,omitempty"`

	// 应用部署到指定节点组,与node_ids二选一
	GroupId *string `json:"group_id,omitempty"`

	// 应用部署到指定节点,当前只支持一个边缘节点
	NodeIds []string `json:"node_ids"`

	// 节点属性
	Tags *[]Attributes `json:"tags,omitempty"`

	// 应用部署版本
	ApiVersion *string `json:"api_version,omitempty"`

	// 应用部署来源:边缘市场(iem)或自定义(userdefined)
	Source *string `json:"source,omitempty"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 应用部署创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 应用部署更新时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	Template *PodRequest `json:"template"`

	// 应用状态,仅包括冻结(FREEZE)、删除中(PENDING_DELETE)、删除失败(DELETE_FAILED),保留字段
	State *string `json:"state,omitempty"`

	// 预留字段
	SourceId *string `json:"source_id,omitempty"`

	Annotations *Annotations `json:"annotations,omitempty"`
}

DeploymentResp 部署参数配置

func (DeploymentResp) String

func (o DeploymentResp) String() string

type Device

type Device struct {

	// 终端设备ID,只允许英文字母、数字、下划线、中划线,必须以英文字母和数字开头,长度限制为24~64之间
	Id string `json:"id"`

	// 终端设备名称,只允许中文字符、英文字母、数字、下划线、中划线,长度限制为1~64
	Name string `json:"name"`

	// 访问协议,有如下选项: - userdefine:自定义协议 - modbus:modbus协议 - opc-ua:opc-ua协议 默认为userdefine
	AccessProtocol string `json:"access_protocol"`

	// 终端设备描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description string `json:"description"`

	// 项目ID
	ProjectId string `json:"project_id"`

	// 创建时间
	CreatedAt string `json:"created_at"`

	// 更新时间
	UpdatedAt string `json:"updated_at"`

	// 终端设备静态属性信息
	Attributes map[string]ValueInAttributes `json:"attributes"`

	// 连接类型,默认为edge
	ConnectionType string `json:"connection_type"`

	// 终端设备孪生属性信息
	Twin map[string]ValueInTwinResponse `json:"twin"`

	AccessConfig *AccessConfig `json:"access_config"`

	// 孪生属性配置
	PropertyVisitors map[string]ValueInPropertyVisitors `json:"property_visitors"`
}

Device 终端设备属性

func (Device) String

func (o Device) String() string

type DeviceInfos

type DeviceInfos struct {

	// 设备和节点关系的名称,只允许中文字符、英文字母、数字、下划线、中划线,最大长度64
	Relation string `json:"relation"`

	// 设备和节点关系的描述,最大长度64,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Comment *string `json:"comment,omitempty"`

	// 设备ID列表
	DeviceIds []string `json:"device_ids"`
}

DeviceInfos 关联设备信息

func (DeviceInfos) String

func (o DeviceInfos) String() string

type DeviceTemplate

type DeviceTemplate struct {
	DeviceTemplate *EdgemgrDeviceReq `json:"device_template"`
}

DeviceTemplate 设备模板

func (DeviceTemplate) String

func (o DeviceTemplate) String() string

type DeviceTemplateUpdate

type DeviceTemplateUpdate struct {
	DeviceTemplate *DeviceTemplateUpdateDetail `json:"device_template"`
}

DeviceTemplateUpdate 设备模板

func (DeviceTemplateUpdate) String

func (o DeviceTemplateUpdate) String() string

type DeviceTemplateUpdateDetail

type DeviceTemplateUpdateDetail struct {

	// 设备模板描述,最大长度255
	Description *string `json:"description,omitempty"`

	// 终端设备静态属性,最多64个键值。
	Attributes map[string]ValueInAttributes `json:"attributes,omitempty"`

	// 终端设备动态属性
	Twin map[string]ValueInTwin `json:"twin,omitempty"`

	Tags *DeviceTemplateUpdateDetailTags `json:"tags,omitempty"`

	// - userdefine:自定义协议 - modbus:modbus协议 - opc-ua:opc-ua协议
	AccessProtocol *string `json:"access_protocol,omitempty"`

	// 孪生属性配置,与access_protocol关联。
	PropertyVisitors map[string]ValueInPropertyVisitors `json:"property_visitors,omitempty"`
}

DeviceTemplateUpdateDetail 设备模板

func (DeviceTemplateUpdateDetail) String

type DeviceTemplateUpdateDetailTags

type DeviceTemplateUpdateDetailTags struct {

	// 标签key值,长度取值范围为1~36, 仅允许大小写英文字母、数字、下划线、中划线
	Key *string `json:"key,omitempty"`

	// 标签value值,长度取值范围为0~43, 仅允许大小写英文字母、数字、下划线、中划线
	Value *string `json:"value,omitempty"`
}

DeviceTemplateUpdateDetailTags 设备模板标签,key-value键值对形式。

func (DeviceTemplateUpdateDetailTags) String

type Devices

type Devices struct {
	Devices *DevicesDevices `json:"devices"`
}

Devices 终端设备属性

func (Devices) String

func (o Devices) String() string

type DevicesDevices

type DevicesDevices struct {
	Added *DevicesDevicesAdded `json:"added,omitempty"`

	// 要解绑的终端设备ID
	Removed *[]string `json:"removed,omitempty"`
}

DevicesDevices 终端设备信息

func (DevicesDevices) String

func (o DevicesDevices) String() string

type DevicesDevicesAdded

type DevicesDevicesAdded struct {

	// 终端设备和节点关系的名称,只允许中文字符、英文字母、数字、下划线、中划线,最大长度64
	Relation *string `json:"relation,omitempty"`

	// 终端设备和节点关系的描述,最大长度64,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Comment *string `json:"comment,omitempty"`

	// 终端设备ID列表
	DeviceIds []string `json:"device_ids"`
}

DevicesDevicesAdded 要加入的终端设备详情

func (DevicesDevicesAdded) String

func (o DevicesDevicesAdded) String() string

type EdgeGroupCert added in v0.1.16

type EdgeGroupCert struct {

	// 证书ID
	Id *string `json:"id,omitempty"`

	// 证书名称
	Name *string `json:"name,omitempty"`

	// 证书描述
	Description *string `json:"description,omitempty"`

	// 创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 证书绑定的边缘节点组ID
	GroupId *string `json:"group_id,omitempty"`

	// 证书是否处于删除中
	IsDeleted *bool `json:"is_deleted,omitempty"`

	// 证书所属账号的项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 证书类型,包含: - system:创建节点时会默认创建一套系统证书 - application:应用证书 - device:设备证书
	Type *string `json:"type,omitempty"`

	// 证书序列号
	SerialNum *string `json:"serial_num,omitempty"`

	// 根证书
	Ca *string `json:"ca,omitempty"`

	// 证书
	Certificate *string `json:"certificate,omitempty"`

	// 私钥
	PrivateKey *string `json:"private_key,omitempty"`

	// 将证书文件certificate/ca/private_key打成.tar.gz包后用base64编码的字符串。 使用时请使用base64解码成.tar.gz包。
	Package *string `json:"package,omitempty"`

	// 证书有效期持续时间
	CertRemainingValidTime *int32 `json:"cert_remaining_valid_time,omitempty"`
}

EdgeGroupCert 边缘节点组证书

func (EdgeGroupCert) String added in v0.1.16

func (o EdgeGroupCert) String() string

type EdgeGroupCertListResp added in v0.1.16

type EdgeGroupCertListResp struct {

	// 边缘节点组证书数目
	Count *int32 `json:"count,omitempty"`

	// 边缘节点证书详情
	Groupcerts *[]EdgeGroupCert `json:"groupcerts,omitempty"`
}

EdgeGroupCertListResp 边缘节点组证书列表返回体

func (EdgeGroupCertListResp) String added in v0.1.16

func (o EdgeGroupCertListResp) String() string

type EdgeGroupCertRequest added in v0.1.14

type EdgeGroupCertRequest struct {

	// 证书名称。只允许中文字符、英文字母、数字、下划线、中划线,最大长度64
	Name *string `json:"name,omitempty"`

	// 证书类型,支持填写: - system:创建节点时会默认创建一套系统证书 - application:应用证书 - device:设备证书
	Type *string `json:"type,omitempty"`

	// 证书描述。最大长度为255个字符
	Description *string `json:"description,omitempty"`
}

EdgeGroupCertRequest 边缘节点组证书基本信息

func (EdgeGroupCertRequest) String added in v0.1.14

func (o EdgeGroupCertRequest) String() string

type EdgeGroupRequest added in v0.1.14

type EdgeGroupRequest struct {

	// 节点组名称。只允许中文字符、英文字母、数字、下划线、中划线,最大长度64
	Name string `json:"name"`

	// 节点组描述。最大长度255个字符
	Description *string `json:"description,omitempty"`

	// 节点组绑定的节点ID列表
	NodeIds *[]string `json:"node_ids,omitempty"`

	// 节点组标签
	Tags *[]Attributes `json:"tags,omitempty"`

	// 节点组绑定的终端设备ID列表
	DeviceIds *[]string `json:"device_ids,omitempty"`
}

EdgeGroupRequest 边缘节点组参数

func (EdgeGroupRequest) String added in v0.1.14

func (o EdgeGroupRequest) String() string

type EdgeGroupResp added in v0.1.14

type EdgeGroupResp struct {

	// 边缘节点组ID
	Id *string `json:"id,omitempty"`

	// 边缘节点组名称,小写英文字母、数字、中划线,以小写字母或数字开头,最大长度为32个字符,不能为空
	Name *string `json:"name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 边缘节点组所属的项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 边缘节点组所属账号的IAM权限,没有铂金版权限的账号无法使用节点组功能
	IamRole *string `json:"iam_role,omitempty"`

	// 边缘节点组CPU总数,为边缘节点组所绑定的边缘节点的CPU数目之和
	Cpu *int32 `json:"cpu,omitempty"`

	// 边缘节点组内存总数,为边缘节点组所绑定的边缘节点的内存之和
	Memory *int32 `json:"memory,omitempty"`

	// 边缘节点组GPU总数,为边缘节点组所绑定的边缘节点的GPU数目之和
	GpuNum *int32 `json:"gpu_num,omitempty"`

	// 绑定的边缘节点详情
	Nodes *[]EdgeNodeResp `json:"nodes,omitempty"`

	// 绑定的边缘应用详情
	Deployments *[]GroupDeployment `json:"deployments,omitempty"`

	// 属性
	Attributes *[]Attributes `json:"attributes,omitempty"`

	// 标签
	Tags *[]Attributes `json:"tags,omitempty"`

	// 绑定操作成功的节点ID列表
	SuccessNodeAdd *[]string `json:"success_node_add,omitempty"`

	// 解绑操作成功的节点ID列表
	SuccessNodeDel *[]string `json:"success_node_del,omitempty"`

	// 绑定操作失败的节点ID列表
	FailedNodeAdd *[]string `json:"failed_node_add,omitempty"`

	// 解绑操作失败的节点ID列表
	FailedNodeDel *[]string `json:"failed_node_del,omitempty"`
}

EdgeGroupResp 边缘节点组返回参数

func (EdgeGroupResp) String added in v0.1.14

func (o EdgeGroupResp) String() string

type EdgeGroupUpdateRequest added in v0.1.14

type EdgeGroupUpdateRequest struct {

	// 边缘节点组描述
	Description *string `json:"description,omitempty"`
}

EdgeGroupUpdateRequest 边缘节点组更新请求体

func (EdgeGroupUpdateRequest) String added in v0.1.14

func (o EdgeGroupUpdateRequest) String() string

type EdgeNode

type EdgeNode struct {

	// 边缘节点名称,只允许中文字符、英文字母、数字、下划线、中划线,最大长度64 Name为必填字段,且本帐号中唯一。
	Name string `json:"name"`

	// 边缘节点描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description *string `json:"description,omitempty"`

	// 边缘节点是否开启GPU,默认为false
	EnableGpu *bool `json:"enable_gpu,omitempty"`

	// 边缘节点日志配置
	LogConfigs *[]LogConfigs `json:"log_configs,omitempty"`

	// 关联设备信息
	DeviceInfos *[]DeviceInfos `json:"device_infos,omitempty"`

	// 边缘节点是否开启NPU,true表示开启,false表示不开启,默认为false
	EnableNpu *bool `json:"enable_npu,omitempty"`

	// NPU类型,支持D310类型和D910类型。 - D310表示D310类型。 - D910表示D910类型。 - 不填表示为D310类型。
	NpuType *string `json:"npu_type,omitempty"`

	// 边缘节点属性,关联属性个数最多为32个
	Attributes *[]Attributes `json:"attributes,omitempty"`

	// 边缘节点启用Docker,默认为true
	EnableDocker *bool `json:"enable_docker,omitempty"`

	// 边缘节点标签,标签个数最多为20个
	Tags *[]NodeResTag `json:"tags,omitempty"`

	MqttConfig *MqttConfigs `json:"mqtt_config,omitempty"`
}

EdgeNode 边缘节点参数

func (EdgeNode) String

func (o EdgeNode) String() string

type EdgeNodeResp

type EdgeNodeResp struct {

	// 边缘节点ID
	Id string `json:"id"`

	// 边缘节点名称,只允许中文字符、英文字母、数字、下划线、中划线,最大长度64 Name为必填字段,且本帐号中唯一。
	Name string `json:"name"`

	// 边缘节点描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description string `json:"description"`

	// 创建时间
	CreatedAt string `json:"created_at"`

	// 更新时间
	UpdatedAt string `json:"updated_at"`

	// 项目ID
	ProjectId string `json:"project_id"`

	// 私钥
	PrivateKey string `json:"private_key"`

	// 证书
	Certificate string `json:"certificate"`

	// 根证书
	Ca string `json:"ca"`

	// 边缘节点状态 - UNCONNECTED(未注册) - RUNNING(运行中) - FAIL(故障) - STOPPED(停用) - UPGRADING(升级中) - FREEZE(冻结)
	State string `json:"state"`

	// 将证书文件certificate/ca/private_key打成.tar.gz包后用base64编码的字符串。 使用时请使用base64解码成.tar.gz包。
	Package string `json:"package"`

	// 云端服务URL
	MasterAddr string `json:"master_addr"`

	// 边缘节点CPU核心数
	Cpu int32 `json:"cpu"`

	// 边缘节点内存大小,单位M
	Memory int32 `json:"memory"`

	// 边缘节点操作系统名称
	OsName string `json:"os_name"`

	// 边缘节点操作系统版本
	OsVersion string `json:"os_version"`

	// pause容器镜像URL
	PauseDockerImage string `json:"pause_docker_image"`

	// 边缘节点架构
	Arch string `json:"arch"`

	// 边缘节点操作系统类型
	OsType string `json:"os_type"`

	// 部署在该边缘节点上的应用实例个数
	DeploymentNum int32 `json:"deployment_num"`

	// 边缘节点是否开启GPU,默认为false
	EnableGpu bool `json:"enable_gpu"`

	// 边缘节点日志配置
	LogConfigs []LogConfigs `json:"log_configs"`

	// 关联设备信息
	DeviceInfos []DeviceInfos `json:"device_infos"`

	// edged版本
	EdgedVersion string `json:"edged_version"`

	// gpu个数
	GpuNum int32 `json:"gpu_num"`

	// 主机IP,默认返回eth0网卡的IP。
	HostIps []string `json:"host_ips"`

	// 与device绑定关系名称(通过device id查询node时有值)
	Relation string `json:"relation"`

	// 与device绑定关系描述(通过device id查询node时有值)
	Comment string `json:"comment"`

	// gpu型号和gpu memory大小
	GpuInfo []GpuInfo `json:"gpu_info"`

	// 关联设备数量
	DeviceNum int32 `json:"device_num"`

	// 边缘节点是否开启NPU,true表示开启,false表示不开启,默认为false
	EnableNpu bool `json:"enable_npu"`

	// NPU类型,支持D310类型和D910类型。 - D310表示D310类型。 - D910表示D910类型。 - 不填表示为D310类型。
	NpuType string `json:"npu_type"`

	// 节点网卡和对应IP地址信息
	Nics []Nics `json:"nics"`

	// 边缘节点主机名
	HostName string `json:"host_name"`

	// 边缘节点版本
	IefNodeVersion string `json:"ief_node_version"`

	// 是否能升级的标志 - true:需要升级 - false:不需要升级
	UpgradeFlag bool `json:"upgrade_flag"`

	// 产品ID(通过产品证书方式纳管)
	ProductId string `json:"product_id"`

	// 节点组ID(一个节点属于多个节点组)
	GroupIds []string `json:"group_ids"`

	// 节点安装或升级记录
	UpgradeHistory []UpgradeHistory `json:"upgrade_history"`

	// 边缘节点属性,关联属性个数最多为32个
	Attributes []Attributes `json:"attributes"`

	// 节点是否开启Docker
	DockerEnable bool `json:"docker_enable"`

	// mqtt集成模式 - internal:edgecore内置mqtt - external:外置开源mqtt
	MqttMode string `json:"mqtt_mode"`

	// 外置开源mqtt地址
	MqttExternal string `json:"mqtt_external"`

	// edgecore内置的mqtt地址
	MqttInternal string `json:"mqtt_internal"`

	// 节点类型,默认为空,非空时为小站节点
	NodeType string `json:"node_type"`

	NtpConfigs *NtpConfigs `json:"ntp_configs"`

	// 节点故障原因
	ErrorReason string `json:"error_reason"`

	// 边缘节点标签,标签个数最多为20个
	Tags []ResourceTag `json:"tags"`

	// NPU数量
	NpuNum int32 `json:"npu_num"`

	// NPU型号和NPU Memory大小
	NpuInfo []NpuInfo `json:"npu_info"`

	// 容器运行时版本
	ContainerRuntimeVersion string `json:"container_runtime_version"`

	// 边缘节点使用token注册时的凭证
	Identifier *string `json:"identifier,omitempty"`

	// IEC/IES节点id
	PurchaseId *string `json:"purchase_id,omitempty"`

	StateDetails *StateDetails `json:"state_details,omitempty"`

	// 证书有效期持续时间
	CertRemainingValidTime *int32 `json:"cert_remaining_valid_time,omitempty"`
}

EdgeNodeResp 边缘节点参数

func (EdgeNodeResp) String

func (o EdgeNodeResp) String() string

type EdgeNodeUpdate

type EdgeNodeUpdate struct {

	// 边缘节点描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description *string `json:"description,omitempty"`

	// 边缘节点日志配置
	LogConfigs *[]LogConfigs `json:"log_configs,omitempty"`

	// NTP服务器地址,每个节点最多仅能配置两个。D310表示D310类型;D910表示D910类型;不填表示为D310类型。
	NtpServers *[]string `json:"ntp_servers,omitempty"`

	// 边缘节点属性,关联属性个数最多为32个
	Attributes *[]Attributes `json:"attributes,omitempty"`
}

EdgeNodeUpdate 边缘节点参数

func (EdgeNodeUpdate) String

func (o EdgeNodeUpdate) String() string

type EdgeNodeUpdateByDevice

type EdgeNodeUpdateByDevice struct {
	Nodes *NodeUpdateByDevice `json:"nodes"`
}

EdgeNodeUpdateByDevice 边缘节点的终端设备信息

func (EdgeNodeUpdateByDevice) String

func (o EdgeNodeUpdateByDevice) String() string

type EdgemgrDevice

type EdgemgrDevice struct {

	// 终端设备ID,只允许英文字母、数字、下划线、中划线,必须以英文字母和数字开头,长度限制为24~64之间
	Id string `json:"id"`

	// 终端设备名称,只允许中文字符、英文字母、数字、下划线、中划线,长度限制为1~64
	Name string `json:"name"`

	// 访问协议,有如下选项: - userdefine:自定义协议 - modbus:modbus协议 - opc-ua:opc-ua协议 默认为userdefine
	AccessProtocol string `json:"access_protocol"`

	// 终端设备描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description string `json:"description"`

	// 静态属性
	Attributes map[string]ValueInAttributes `json:"attributes"`

	// 终端设备静态属性信息
	Twin map[string]ValueInTwinResponse `json:"twin"`

	// 项目ID
	ProjectId string `json:"project_id"`

	// 创建时间
	CreatedAt string `json:"created_at"`

	// 更新时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 孪生属性配置
	PropertyVisitors map[string]ValueInPropertyVisitors `json:"property_visitors"`

	Tags *ResourceTag `json:"tags"`
}

EdgemgrDevice 终端设备属性

func (EdgemgrDevice) String

func (o EdgemgrDevice) String() string

type EdgemgrDeviceReq

type EdgemgrDeviceReq struct {

	// 终端设备名称,只允许中文字符、英文字母、数字、下划线、中划线,长度限制为1~64
	Name string `json:"name"`

	// 访问协议,有如下选项: - userdefine:自定义协议 - modbus:modbus协议 - opc-ua:opc-ua协议 默认为userdefine
	AccessProtocol *string `json:"access_protocol,omitempty"`

	// 终端设备描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description *string `json:"description,omitempty"`

	// 静态属性
	Attributes map[string]ValueInAttributes `json:"attributes,omitempty"`

	// 终端设备动态属性
	Twin map[string]ValueInTwin `json:"twin,omitempty"`

	Tags *ResourceTag `json:"tags,omitempty"`

	// 孪生属性配置
	PropertyVisitors map[string]ValueInPropertyVisitors `json:"property_visitors,omitempty"`
}

EdgemgrDeviceReq 终端设备属性

func (EdgemgrDeviceReq) String

func (o EdgemgrDeviceReq) String() string

type EdgemgrDevices

type EdgemgrDevices struct {
	Device *EdgemgrDevicesDetail `json:"device"`
}

EdgemgrDevices 终端设备属性

func (EdgemgrDevices) String

func (o EdgemgrDevices) String() string

type EdgemgrDevicesDetail

type EdgemgrDevicesDetail struct {

	// 终端设备ID,只允许英文字母、数字、下划线、中划线,必须以英文字母和数字开头,长度限制为24~64之间
	Id *string `json:"id,omitempty"`

	// 终端设备名称,只允许中文字符、英文字母、数字、下划线、中划线,长度限制为1~64
	Name string `json:"name"`

	// 终端设备描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description *string `json:"description,omitempty"`

	// 终端设备静态属性
	Attributes map[string]ValueInAttributes `json:"attributes,omitempty"`

	// 连接类型,默认为edge
	ConnectionType *string `json:"connection_type,omitempty"`

	// 访问协议,有如下选项: - userdefine:自定义协议 - modbus:modbus协议 - opc-ua:opc-ua协议 默认为userdefine
	AccessProtocol *string `json:"access_protocol,omitempty"`

	// 终端设备动态属性
	Twin map[string]ValueInTwin `json:"twin,omitempty"`

	AccessConfig *AccessConfig `json:"access_config,omitempty"`

	// 孪生属性配置
	PropertyVisitors map[string]ValueInPropertyVisitors `json:"property_visitors,omitempty"`
}

EdgemgrDevicesDetail 终端设备属性

func (EdgemgrDevicesDetail) String

func (o EdgemgrDevicesDetail) String() string

type EdgemgrDevicesPara

type EdgemgrDevicesPara struct {

	// 终端设备描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description *string `json:"description,omitempty"`

	// 终端设备静态属性
	Attributes map[string]ValueInAttributes `json:"attributes,omitempty"`
}

EdgemgrDevicesPara 终端设备属性

func (EdgemgrDevicesPara) String

func (o EdgemgrDevicesPara) String() string

type EdgemgrDevicesUpdate

type EdgemgrDevicesUpdate struct {
	Device *EdgemgrDevicesPara `json:"device"`
}

EdgemgrDevicesUpdate 终端设备更新配置

func (EdgemgrDevicesUpdate) String

func (o EdgemgrDevicesUpdate) String() string

type EnableDisableEdgeNodesRequest

type EnableDisableEdgeNodesRequest struct {

	// 节点ID
	NodeId string `json:"node_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *NodeAction `json:"body,omitempty"`
}

EnableDisableEdgeNodesRequest Request Object

func (EnableDisableEdgeNodesRequest) String

type EnableDisableEdgeNodesResponse

type EnableDisableEdgeNodesResponse struct {
	Node           *Action `json:"node,omitempty"`
	HttpStatusCode int     `json:"-"`
}

EnableDisableEdgeNodesResponse Response Object

func (EnableDisableEdgeNodesResponse) String

type EncryptData added in v0.1.5

type EncryptData struct {

	// 加密数据ID
	Id string `json:"id"`

	// 加密数据名称
	Name string `json:"name"`

	// 加密数据描述
	Description string `json:"description"`

	// 加密数据项配置
	Config []EncryptDataItem `json:"config"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 铂金版实例ID,专业版实例为default
	IefInstanceId *string `json:"ief_instance_id,omitempty"`

	// 租户账户ID
	DomainId *string `json:"domain_id,omitempty"`

	// 加密数据创建时间
	CreatedTime *int64 `json:"created_time,omitempty"`

	// 加密数据更新时间
	UpdatedTime *int64 `json:"updated_time,omitempty"`
}

EncryptData 加密数据信息

func (EncryptData) String added in v0.1.5

func (o EncryptData) String() string

type EncryptDataIn added in v0.1.5

type EncryptDataIn struct {

	// 加密数据名称,小写英文字母、数字、中划线,以小写字母或数字开头,最大长度为64个字符,不能为空
	Name string `json:"name"`

	// 加密数据描述
	Description *string `json:"description,omitempty"`

	// 加密数据项配置
	Config []EncryptDataItem `json:"config"`
}

EncryptDataIn 加密数据信息

func (EncryptDataIn) String added in v0.1.5

func (o EncryptDataIn) String() string

type EncryptDataItem added in v0.1.5

type EncryptDataItem struct {

	// 加密数据项键名,小写英文字母、数字、中划线,以小写字母或数字开头,最大长度为32个字符,不能为空
	Name string `json:"name"`

	// 加密数据项键值
	Value string `json:"value"`

	// 加密数据项键值是否已加密,默认为true
	IsEncrypted *bool `json:"is_encrypted,omitempty"`
}

EncryptDataItem 加密数据项配置

func (EncryptDataItem) String added in v0.1.5

func (o EncryptDataItem) String() string

type EncryptDataNodeReq added in v0.1.5

type EncryptDataNodeReq struct {

	// 加密数据ID列表
	EncryptDatas []string `json:"encrypt_datas"`
}

EncryptDataNodeReq 边缘节点绑定加密数据配置

func (EncryptDataNodeReq) String added in v0.1.5

func (o EncryptDataNodeReq) String() string

type EncryptDataNodes added in v0.1.5

type EncryptDataNodes struct {

	// 边缘节点ID
	Id string `json:"id"`

	// 边缘节点状态
	State string `json:"state"`

	// 边缘节点名称
	Name string `json:"name"`

	// 边缘节点主机名
	HostName string `json:"host_name"`

	// 边缘节点主机IP地址列表
	HostIps []string `json:"host_ips"`
}

func (EncryptDataNodes) String added in v0.1.5

func (o EncryptDataNodes) String() string

type EncryptDataReq added in v0.1.5

type EncryptDataReq struct {
	EncryptData *EncryptDataIn `json:"encrypt_data"`
}

EncryptDataReq 加密数据配置

func (EncryptDataReq) String added in v0.1.5

func (o EncryptDataReq) String() string

type Endpoint

type Endpoint struct {
	Endpoint *EndpointObj `json:"endpoint,omitempty"`
}

Endpoint 端点详情

func (Endpoint) String

func (o Endpoint) String() string

type EndpointObj

type EndpointObj struct {

	// 端点描述,最大长度255,不允许^~#$%&*<>()[]{}'\"\\
	Description *string `json:"description,omitempty"`

	// 铂金版实例ID,如果为空则表示是专业版实例。
	IefInstanceId *string `json:"ief_instance_id,omitempty"`

	// 端点名称,只允许中文字符、英文字符、数字、下划线、中划线,最大长度64 同一个帐号中创建的端点名唯一
	Name string `json:"name"`

	// 端点的属性,端点需要对外展示的属性,示例: - dis: {\"domain_id\":\"user's domain id\"} - servicebus: {\"service_port\":8080} - apigw: {\"domain_id\":\"user's domain id\"}
	Properties map[string]string `json:"properties"`

	// 端点类型 枚举值: - dis - servicebus - apigw
	Type string `json:"type"`
}

EndpointObj 端点详情

func (EndpointObj) String

func (o EndpointObj) String() string

type EndpointObjResp

type EndpointObjResp struct {

	// 创建时间
	CreatedAt string `json:"created_at"`

	// 端点描述,最大长度255,不允许^~#$%&*<>()[]{}'\"\\
	Description string `json:"description"`

	// 端点ID
	Id string `json:"id"`

	// 铂金版实例ID,如果为空则表示是专业版实例。
	IefInstanceId string `json:"ief_instance_id"`

	// 是否共享
	IsShared bool `json:"is_shared"`

	// 端点名称,只允许中文字符、英文字符、数字、下划线、中划线,最大长度64 同一个帐号中创建的端点名唯一
	Name string `json:"name"`

	// 项目ID
	ProjectId string `json:"project_id"`

	// 端点的属性,端点需要对外展示的属性,示例: - dis: {\"domain_id\":\"user's domain id\"} - servicebus: {\"service_port\":8080} - apigw: {\"domain_id\":\"user's domain id\"}
	Properties map[string]interface{} `json:"properties"`

	// 端点类型。枚举值: - dis - servicebus - apigw
	Type string `json:"type"`

	// 更新时间
	UpdatedAt string `json:"updated_at"`
}

EndpointObjResp 端点详情

func (EndpointObjResp) String

func (o EndpointObjResp) String() string

type EndpointResource added in v0.1.14

type EndpointResource struct {

	// 消息端点资源。 示例:- dis: {\"channel\": \"dis channel name\"} - servicebus: {\"path\": \"/request path\"} - apigw: {\"resource\": \"http://ssss.com\"} - eventbus: {\"topic\": \"/xxxx\"}
	Resource *string `json:"resource,omitempty"`
}

EndpointResource 消息端点资源属性

func (EndpointResource) String added in v0.1.14

func (o EndpointResource) String() string

type Env

type Env struct {

	// 环境变量的key,由大小写字母或下划线开头,由数字、大小写字母、下划线组成,最大长度2048个字符,不允许重复
	Name string `json:"name"`

	// 环境变量的value,最大长度20480个字符。value、value_from和field_path必须三选一使用。
	Value *string `json:"value,omitempty"`

	ValueFrom *ValueFrom `json:"value_from,omitempty"`

	// 该参数目前只支持赋值\"status.hostIP\",即引用边缘节点的IP地址作为环境变量。
	FieldPath *string `json:"field_path,omitempty"`
}

Env 环境变量

func (Env) String

func (o Env) String() string

type EnvPods

type EnvPods struct {

	// 环境变量的key,由大小写字母或下划线开头,由数字、大小写字母、下划线组成,最大长度2048个字符,不允许重复
	Name string `json:"name"`

	// 环境变量的value,最大长度20480个字符。value、value_from和field_path必须三选一使用。
	Value *string `json:"value,omitempty"`
}

EnvPods 环境变量

func (EnvPods) String

func (o EnvPods) String() string

type Error

type Error struct {

	// 错误详情
	Detail string `json:"detail"`

	// 铂金版实例ID,如果为空则表示是专业版实例。
	IefInstanceId string `json:"ief_instance_id"`

	// 项目ID
	ProjectId string `json:"project_id"`

	// 规则ID
	RuleId string `json:"rule_id"`

	// 错误发生的时间
	Time string `json:"time"`
}

func (Error) String

func (o Error) String() string

type Event added in v0.1.14

type Event struct {

	// 系统订阅事件ID
	Id *string `json:"id,omitempty"`

	// 系统订阅事件名称。只允许小写英文字符、数字、下划线、中划线,最大长度64,同一个帐号中创建的系统订阅和消息规则名唯一
	Name *string `json:"name,omitempty"`

	// 系统订阅事件所属项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 描述,最大长度255,不允许^~#$%&*<>()[]{}'\"\\
	Description *string `json:"description,omitempty"`

	// 是否启用系统订阅规则,默认为true(启用)
	InUsing *bool `json:"in_using,omitempty"`

	// 系统订阅事件主题。每个主题由“{边缘资源}/{操作}”组成,多个主题使用逗号(,)进行分隔,支持如下主题: - edgeNode/offline:节点离线 - edgeNode/online:节点上线 - edgeNode/all:节点离线+节点上线 - deployment/created:容器应用创建 - deployment/updated:容器应用更新 - deployment/deleted:容器应用删除 - deployment/all:容器应用创建+更新+删除 - instance/created:应用实例创建 - instance/updated:应用实例更新 - instance/deleted:应用实例删除 - instance/all:应用实例创建+更新+删除
	Events *string `json:"events,omitempty"`

	Target *EndpointObjResp `json:"target,omitempty"`

	// 目的端点资源属性
	TargetResource map[string]string `json:"target_resource,omitempty"`

	// 成功次数
	SuccessMessages *int32 `json:"success_messages,omitempty"`

	// 失败次数
	FailMessages *int32 `json:"fail_messages,omitempty"`

	// 删除时间
	DeleteAt *int32 `json:"delete_at,omitempty"`
}

Event 系统订阅事件基本信息

func (Event) String added in v0.1.14

func (o Event) String() string

type EventCreateDetail added in v0.1.14

type EventCreateDetail struct {

	// 系统订阅名称。只允许小写英文字符、数字、下划线、中划线,最大长度64,同一个帐号中创建的系统订阅和消息规则名唯一
	Name *string `json:"name,omitempty"`

	// 描述。最大长度255,不允许^~#$%&*<>()[]{}'\"\\
	Description *string `json:"description,omitempty"`

	// 系统订阅主题。每个主题由“{边缘资源}/{操作}”组成,多个主题使用逗号(,)进行分隔,支持如下主题: - edgeNode/offline:节点离线 - edgeNode/online:节点上线 - edgeNode/all:节点离线+节点上线 - deployment/created:容器应用创建 - deployment/updated:容器应用更新 - deployment/deleted:容器应用删除 - deployment/all:容器应用创建+更新+删除 - instance/created:应用实例创建 - instance/updated:应用实例更新 - instance/deleted:应用实例删除 - instance/all:应用实例创建+更新+删除
	Events *string `json:"events,omitempty"`

	// 目的端点ID
	Target *string `json:"target,omitempty"`

	TargetResource *EndpointResource `json:"target_resource,omitempty"`
}

EventCreateDetail 系统订阅创建配置

func (EventCreateDetail) String added in v0.1.14

func (o EventCreateDetail) String() string

type EventCreateReq added in v0.1.14

type EventCreateReq struct {
	Systemevent *EventCreateDetail `json:"systemevent,omitempty"`
}

EventCreateReq 系统订阅创建请求体

func (EventCreateReq) String added in v0.1.14

func (o EventCreateReq) String() string

type Excepted added in v0.0.96

type Excepted struct {

	// 动态属性的初始值,最大长度512,value允许英文字母、数字、下划线、中划线、点、逗号、冒号、/、@、+、?、^、=、%、&、~、#、!、*
	Value *string `json:"value,omitempty"`

	Metadata *ExceptedMetadata `json:"metadata,omitempty"`
}

Excepted 动态属性的期望信息

func (Excepted) String added in v0.0.96

func (o Excepted) String() string

type ExceptedActual added in v0.0.96

type ExceptedActual struct {

	// 动态属性的初始值,最大长度512,value允许英文字母、数字、下划线、中划线、点、逗号、冒号、/、@、+、?、^、=、%、&、~、#、!、*
	Value *string `json:"value,omitempty"`
}

ExceptedActual 动态属性

func (ExceptedActual) String added in v0.0.96

func (o ExceptedActual) String() string

type ExceptedMetadata added in v0.0.96

type ExceptedMetadata struct {

	// 属性类型标识,string|int|float|boolean(boolean类型为true或false),默认为string
	Type *string `json:"type,omitempty"`
}

ExceptedMetadata 期望值设置的时间信息

func (ExceptedMetadata) String added in v0.0.96

func (o ExceptedMetadata) String() string

type Exec added in v0.0.96

type Exec struct {

	// 探针执行命令,最大长度10240个字符
	Command string `json:"command"`
}

func (Exec) String added in v0.0.96

func (o Exec) String() string

type Extension added in v0.1.14

type Extension struct {

	// 属性名,可填:node_name
	Key *string `json:"key,omitempty"`

	// 属性值
	Value *string `json:"value,omitempty"`
}

Extension 批量处理对象额外属性

func (Extension) String added in v0.1.14

func (o Extension) String() string

type GpuInfo

type GpuInfo struct {

	// GPU名称
	Name *string `json:"name,omitempty"`

	// GPU类型
	Type *string `json:"type,omitempty"`

	// GPU memory大小,单位MB
	Capacity *string `json:"capacity,omitempty"`
}

func (GpuInfo) String

func (o GpuInfo) String() string

type GroupDeployment added in v0.1.14

type GroupDeployment struct {

	// 应用部署uuid
	Id *string `json:"id,omitempty"`

	// 应用部署名称,只允许英文小写字母、数字、中划线,最大长度32, 英文小写字母或数字开头和结尾
	Name *string `json:"name,omitempty"`

	// 应用部署描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description *string `json:"description,omitempty"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 应用部署创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 应用部署更新时间
	UpdatedAt *string `json:"updated_at,omitempty"`
}

GroupDeployment 边缘节点组绑定的应用部署

func (GroupDeployment) String added in v0.1.14

func (o GroupDeployment) String() string

type HostContainerPort

type HostContainerPort struct {

	// 构成一堆映射的容器端口
	ContainerPort int32 `json:"container_port"`

	// 构成一对映射的物理机对应网卡端口
	HostPort *int32 `json:"host_port,omitempty"`

	// 对应网卡地址
	HostIp *string `json:"host_ip,omitempty"`
}

HostContainerPort 容器端口映射值

func (HostContainerPort) String

func (o HostContainerPort) String() string

type HostContainerPortMapping

type HostContainerPortMapping struct {

	// 构成一堆映射的容器端口
	ContainerPort int32 `json:"container_port"`

	// 构成一对映射的物理机对应网卡端口
	HostPort *int32 `json:"host_port,omitempty"`

	// 对应网卡地址
	HostIp *string `json:"host_ip,omitempty"`

	HostPortRange *HostPortRange `json:"host_port_range,omitempty"`
}

HostContainerPortMapping 容器端口映射值

func (HostContainerPortMapping) String

func (o HostContainerPortMapping) String() string

type HostPortRange

type HostPortRange struct {

	// 主机端口下限制,1到65535之间的整数
	MinPort int32 `json:"min_port"`

	// 主机端口上限值,1到65535之间的整数;max_port需大于min_port
	MaxPort int32 `json:"max_port"`
}

HostPortRange 主机端口范围,在范围内为应用实例自动分配主机端口;与主机端口参数二选一;仅铂金版可用

func (HostPortRange) String

func (o HostPortRange) String() string

type HttpGetDetail added in v0.0.96

type HttpGetDetail struct {

	// 必须要以/开头,构造结果为:协议类型://主机地址:端口路径
	Path string `json:"path"`

	// 探测的http端口,1到65535之间的整数
	Port int32 `json:"port"`

	// 请求的主机地址,默认为容器IP
	Host *string `json:"host,omitempty"`

	// 协议类型,HTTP或HTTPS,默认HTTP
	Scheme *string `json:"scheme,omitempty"`
}

HttpGetDetail 执行http探测

func (HttpGetDetail) String added in v0.0.96

func (o HttpGetDetail) String() string

type JobContentInfo added in v0.1.14

type JobContentInfo struct {

	// 批量作业对象类型,支持如下选项: - node:边缘节点 - node_group:边缘节点组 - deployment:边缘应用
	TargetType *string `json:"target_type,omitempty"`

	// 批量作业对象详情
	Targets *[]Target `json:"targets,omitempty"`

	// 批量作业内容,仅在批量应用部署和批量应用升级时需要填写,填入的内容为:使用json结构体编写的创建应用部署接口请求体deployment参数,并将其转换为字符串
	TaskData *string `json:"task_data,omitempty"`
}

JobContentInfo 批量作业详情

func (JobContentInfo) String added in v0.1.14

func (o JobContentInfo) String() string

type LabelSelector

type LabelSelector struct {

	// 匹配规则表达式
	MatchExpressions *[]MatchExpression `json:"matchExpressions,omitempty"`

	// 匹配的标签,格式为key:value键值对。 单个键值对相当于matchExpressions的一个元素,key字段为key,操作符为In,values数组中只有value。
	MatchLabels map[string]string `json:"matchLabels,omitempty"`
}

LabelSelector 标签选择器

func (LabelSelector) String

func (o LabelSelector) String() string

type LimitsRequests added in v0.0.96

type LimitsRequests struct {

	// cpu核数,大于等于0.01,最大1000;请求不需要带单位
	Cpu *float32 `json:"cpu,omitempty"`

	// 内存大小,单位兆,大于等于0.01,最大1024000。注意:内存的limits值最小为4;请求不需要带单位
	Memory *float32 `json:"memory,omitempty"`

	// Gpu显存大小,单位兆,大于等于0.01,最大1024000;请求不需要带单位
	Gpu *float32 `json:"gpu,omitempty"`

	// Npu个数,大于0,最大1000;请求不需要带单位
	Npu *int32 `json:"npu,omitempty"`
}

LimitsRequests 资源配置限制

func (LimitsRequests) String added in v0.0.96

func (o LimitsRequests) String() string

type ListAppVersionsRequest

type ListAppVersionsRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 应用模板ID
	AppId string `json:"app_id"`

	// 每页显示的条目数量,取值范围1~1000,默认为1000
	Limit *string `json:"limit,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *string `json:"offset,omitempty"`
}

ListAppVersionsRequest Request Object

func (ListAppVersionsRequest) String

func (o ListAppVersionsRequest) String() string

type ListAppVersionsResponse

type ListAppVersionsResponse struct {

	// app详情
	Versions *[]AppVersionDetail `json:"versions,omitempty"`

	// 满足条件的应用版本个数
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListAppVersionsResponse Response Object

func (ListAppVersionsResponse) String

func (o ListAppVersionsResponse) String() string

type ListAppsRequest

type ListAppsRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 应用模板名称,模糊匹配
	Name *string `json:"name,omitempty"`

	// 每页显示的条目数量,取值范围1~1000,默认为1000
	Limit *string `json:"limit,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *string `json:"offset,omitempty"`

	// 通过别名过滤,模糊匹配
	Alias *string `json:"alias,omitempty"`

	// public:公共模板,只有管理员才能创建 private:用户创建的应用模板,默认 shared:第三方应用,其他用户共享类型的模板(保留,未实现)
	Visibility *string `json:"visibility,omitempty"`
}

ListAppsRequest Request Object

func (ListAppsRequest) String

func (o ListAppsRequest) String() string

type ListAppsResponse

type ListAppsResponse struct {

	// 应用模板配置
	Apps *[]AppResp `json:"apps,omitempty"`

	// 满足条件的应用模板个数
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListAppsResponse Response Object

func (ListAppsResponse) String

func (o ListAppsResponse) String() string

type ListBatchJobRequest added in v0.1.14

type ListBatchJobRequest struct {

	// 批量处理作业类型,支持以下选项: - node_upgrade: 节点升级 - deployment_deploy:应用部署 - deployment_upgrade:应用升级
	JobType *string `json:"job_type,omitempty"`

	// 查询返回记录的数量限制
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示查询该偏移量后面的记录
	Offset *int32 `json:"offset,omitempty"`

	// 查询结果排序,如按照创建时间降序排序为created_at:desc,升序排序为created_at:asc
	Sort *string `json:"sort,omitempty"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

ListBatchJobRequest Request Object

func (ListBatchJobRequest) String added in v0.1.14

func (o ListBatchJobRequest) String() string

type ListBatchJobResponse added in v0.1.14

type ListBatchJobResponse struct {

	// 数目
	JobCount *int32 `json:"job_count,omitempty"`

	// 批量处理作业详情
	Jobs           *[]BatchJobForList `json:"jobs,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListBatchJobResponse Response Object

func (ListBatchJobResponse) String added in v0.1.14

func (o ListBatchJobResponse) String() string

type ListConfigMapsRequest

type ListConfigMapsRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 配置项名称,模糊匹配
	Name *string `json:"name,omitempty"`

	// 每页显示的条目数量,取值范围1~1000,默认为1000
	Limit *string `json:"limit,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *string `json:"offset,omitempty"`
}

ListConfigMapsRequest Request Object

func (ListConfigMapsRequest) String

func (o ListConfigMapsRequest) String() string

type ListConfigMapsResponse

type ListConfigMapsResponse struct {

	// 配置项
	Configmaps *[]ConfigMapResp `json:"configmaps,omitempty"`

	// 满足条件的个数
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListConfigMapsResponse Response Object

func (ListConfigMapsResponse) String

func (o ListConfigMapsResponse) String() string

type ListDeploymentsRequest

type ListDeploymentsRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 每页显示的条目数量,最大100,默认值10
	Limit *int64 `json:"limit,omitempty"`

	// 查询的起始位置,默认值0
	Offset *int64 `json:"offset,omitempty"`

	// 查询结果排序,如按照创建时间降序排序为created_at:desc,升序排序为created_at:asc
	Sort *string `json:"sort,omitempty"`

	// deployment名称(支持模糊匹配)
	Name *string `json:"name,omitempty"`

	// 节点ID,查询部署在该节点下的应用列表,和group_id不可同时请求
	NodeId *string `json:"node_id,omitempty"`

	// 节点组ID,查询部署在该节点组的应用列表,和node_id不可同时请求
	GroupId *string `json:"group_id,omitempty"`
}

ListDeploymentsRequest Request Object

func (ListDeploymentsRequest) String

func (o ListDeploymentsRequest) String() string

type ListDeploymentsResponse

type ListDeploymentsResponse struct {

	// 应用部署总数
	Count *int64 `json:"count,omitempty"`

	// 应用部署列表
	Deployments    *[]DeploymentResp `json:"deployments,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListDeploymentsResponse Response Object

func (ListDeploymentsResponse) String

func (o ListDeploymentsResponse) String() string

type ListDeviceTemplatesRequest

type ListDeviceTemplatesRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 终端设备名称,模糊匹配
	Name *string `json:"name,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *string `json:"offset,omitempty"`

	// 每页显示的条目数量,取值范围1~1000,默认为1000
	Limit *string `json:"limit,omitempty"`
}

ListDeviceTemplatesRequest Request Object

func (ListDeviceTemplatesRequest) String

type ListDeviceTemplatesResponse

type ListDeviceTemplatesResponse struct {

	// 终端设备属性
	DeviceTemplates *[]EdgemgrDevice `json:"device_templates,omitempty"`

	// 模板数量
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListDeviceTemplatesResponse Response Object

func (ListDeviceTemplatesResponse) String

type ListDevicesRequest

type ListDevicesRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 终端设备名称,模糊匹配
	Name *string `json:"name,omitempty"`

	// 节点ID, 精确匹配
	NodeId *string `json:"node_id,omitempty"`

	// 每页显示的条目数量,取值范围1~1000,默认为1000
	Limit *string `json:"limit,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *string `json:"offset,omitempty"`

	// 是否绑定到边缘节点,为“true”时返回所有已绑定到节点的设备列表;为“false”则返回未绑定节点的设备列表。
	IsBinding *string `json:"is_binding,omitempty"`

	// 标签的key和value通过点连接, 多个标签通过逗号连接,如:tags=key1.value1,key2.value2
	Tags *string `json:"tags,omitempty"`
}

ListDevicesRequest Request Object

func (ListDevicesRequest) String

func (o ListDevicesRequest) String() string

type ListDevicesResponse

type ListDevicesResponse struct {

	// 终端设备属性
	Devices *[]Device `json:"devices,omitempty"`

	// 满足条件的终端设备个数
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListDevicesResponse Response Object

func (ListDevicesResponse) String

func (o ListDevicesResponse) String() string

type ListEdgeGroupCertsRequest added in v0.1.14

type ListEdgeGroupCertsRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 边缘节点组ID
	GroupId string `json:"group_id"`

	// 查询返回记录的数量限制
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示查询该偏移量后面的记录
	Offset *int32 `json:"offset,omitempty"`
}

ListEdgeGroupCertsRequest Request Object

func (ListEdgeGroupCertsRequest) String added in v0.1.14

func (o ListEdgeGroupCertsRequest) String() string

type ListEdgeGroupCertsResponse added in v0.1.14

type ListEdgeGroupCertsResponse struct {
	Body           *[]EdgeGroupCertListResp `json:"body,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

ListEdgeGroupCertsResponse Response Object

func (ListEdgeGroupCertsResponse) String added in v0.1.14

type ListEdgeGroupsRequest added in v0.1.14

type ListEdgeGroupsRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 边缘节点组名称
	Name *string `json:"name,omitempty"`

	// 查询返回记录的数量限制
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示查询该偏移量后面的记录
	Offset *int32 `json:"offset,omitempty"`

	// 显示的条目排列顺序,使用:分隔参考值和顺序,如sort=created_at%3Adesc表示根据创建时间逆序排列
	Sort *string `json:"sort,omitempty"`
}

ListEdgeGroupsRequest Request Object

func (ListEdgeGroupsRequest) String added in v0.1.14

func (o ListEdgeGroupsRequest) String() string

type ListEdgeGroupsResponse added in v0.1.14

type ListEdgeGroupsResponse struct {

	// 边缘节点组数目
	Count *int32 `json:"count,omitempty"`

	// 边缘节点组详情
	EdgeGroups     *[]EdgeGroupResp `json:"edge_groups,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListEdgeGroupsResponse Response Object

func (ListEdgeGroupsResponse) String added in v0.1.14

func (o ListEdgeGroupsResponse) String() string

type ListEdgeNodeCertsRequest

type ListEdgeNodeCertsRequest struct {

	// 节点ID
	NodeId string `json:"node_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 查询返回记录的数量限制
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示查询该偏移量后面的记录
	Offset *int32 `json:"offset,omitempty"`
}

ListEdgeNodeCertsRequest Request Object

func (ListEdgeNodeCertsRequest) String

func (o ListEdgeNodeCertsRequest) String() string

type ListEdgeNodeCertsResponse

type ListEdgeNodeCertsResponse struct {

	// 节点上已关联的应用证书和设备证书的数目
	Count *int32 `json:"count,omitempty"`

	// 节点上的证书列表
	NodeCerts      *[]NodeCert `json:"node_certs,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListEdgeNodeCertsResponse Response Object

func (ListEdgeNodeCertsResponse) String

func (o ListEdgeNodeCertsResponse) String() string

type ListEdgeNodesRequest

type ListEdgeNodesRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 边缘节点名称,模糊匹配
	Name *string `json:"name,omitempty"`

	// 每页显示的条目数量,取值范围1~1000,默认为500
	Limit *string `json:"limit,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *string `json:"offset,omitempty"`

	// 显示的条目排列顺序,使用:分隔参考值和顺序, 如sort=created_at%3Adesc表示根据创建时间逆序排列
	Sort *string `json:"sort,omitempty"`

	// 按终端设备ID查找
	DeviceId *string `json:"device_id,omitempty"`

	// 按绑定终端设备名称查找
	DeviceName *string `json:"device_name,omitempty"`

	// 按应用名称查找
	AppName *string `json:"app_name,omitempty"`

	// 按边缘节点状态查找,节点状态可选项: - RUNNING:运行中 - FAIL:故障 - UPGRADING:升级中 - STOPPED:已停用 - UNCONNECTED:未纳管
	State *ListEdgeNodesRequestState `json:"state,omitempty"`

	// 标签的key和value通过点连接, 多个标签通过逗号连接,如:tags=key1.value1,key2.value2
	Tags *string `json:"tags,omitempty"`

	// 按边缘节点组ID查找。仅支持在铂金版实例中使用
	GroupId *string `json:"group_id,omitempty"`
}

ListEdgeNodesRequest Request Object

func (ListEdgeNodesRequest) String

func (o ListEdgeNodesRequest) String() string

type ListEdgeNodesRequestState added in v0.0.96

type ListEdgeNodesRequestState struct {
	// contains filtered or unexported fields
}

func (ListEdgeNodesRequestState) MarshalJSON added in v0.0.96

func (c ListEdgeNodesRequestState) MarshalJSON() ([]byte, error)

func (*ListEdgeNodesRequestState) UnmarshalJSON added in v0.0.96

func (c *ListEdgeNodesRequestState) UnmarshalJSON(b []byte) error

func (ListEdgeNodesRequestState) Value added in v0.0.96

type ListEdgeNodesRequestStateEnum added in v0.0.96

type ListEdgeNodesRequestStateEnum struct {
	RUNNING     ListEdgeNodesRequestState
	FAIL        ListEdgeNodesRequestState
	FREEZE      ListEdgeNodesRequestState
	UPGRADING   ListEdgeNodesRequestState
	STOPPED     ListEdgeNodesRequestState
	UNCONNECTED ListEdgeNodesRequestState
}

func GetListEdgeNodesRequestStateEnum added in v0.0.96

func GetListEdgeNodesRequestStateEnum() ListEdgeNodesRequestStateEnum

type ListEdgeNodesResponse

type ListEdgeNodesResponse struct {

	// 边缘节点列表
	Nodes *[]EdgeNodeResp `json:"nodes,omitempty"`

	// 满足条件的边缘节点个数
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListEdgeNodesResponse Response Object

func (ListEdgeNodesResponse) String

func (o ListEdgeNodesResponse) String() string

type ListEncryptdataNodesRequest added in v0.1.5

type ListEncryptdataNodesRequest struct {

	// 加密数据ID
	EncryptdataId string `json:"encryptdata_id"`

	// 查询返回记录的数量限制
	Limit *int32 `json:"limit,omitempty"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 偏移量,表示查询该偏移量后面的记录
	Offset *int32 `json:"offset,omitempty"`
}

ListEncryptdataNodesRequest Request Object

func (ListEncryptdataNodesRequest) String added in v0.1.5

type ListEncryptdataNodesResponse added in v0.1.5

type ListEncryptdataNodesResponse struct {

	// 绑定的边缘节点总数
	Count *int32 `json:"count,omitempty"`

	// 边缘节点列表
	Nodes          *[]EncryptDataNodes `json:"nodes,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

ListEncryptdataNodesResponse Response Object

func (ListEncryptdataNodesResponse) String added in v0.1.5

type ListEncryptdatasRequest added in v0.1.5

type ListEncryptdatasRequest struct {

	// 加密数据名称
	Name *string `json:"name,omitempty"`

	// 查询返回记录的数量限制
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示查询该偏移量后面的记录
	Offset *int32 `json:"offset,omitempty"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

ListEncryptdatasRequest Request Object

func (ListEncryptdatasRequest) String added in v0.1.5

func (o ListEncryptdatasRequest) String() string

type ListEncryptdatasResponse added in v0.1.5

type ListEncryptdatasResponse struct {

	// 加密数据列表详情
	EncryptDatas *[]EncryptData `json:"encrypt_datas,omitempty"`

	// 加密数据总数
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListEncryptdatasResponse Response Object

func (ListEncryptdatasResponse) String added in v0.1.5

func (o ListEncryptdatasResponse) String() string

type ListEndpointsRequest

type ListEndpointsRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 端点名称
	Name *string `json:"name,omitempty"`

	// 端点类型 枚举值: - dis - servicebus - apigw
	Type *string `json:"type,omitempty"`

	// 端点是否共享
	IsShared *string `json:"is_shared,omitempty"`

	// 查询返回记录的数量限制
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示查询该偏移量后面的记录
	Offset *int32 `json:"offset,omitempty"`
}

ListEndpointsRequest Request Object

func (ListEndpointsRequest) String

func (o ListEndpointsRequest) String() string

type ListEndpointsResponse

type ListEndpointsResponse struct {

	// 端点详情
	Endpoints *[]EndpointObjResp `json:"endpoints,omitempty"`

	// 满足条件的端点个数
	Count          *int64 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListEndpointsResponse Response Object

func (ListEndpointsResponse) String

func (o ListEndpointsResponse) String() string

type ListNodeEncryptdatasRequest added in v0.1.5

type ListNodeEncryptdatasRequest struct {

	// 边缘节点ID
	NodeId string `json:"node_id"`

	// 查询返回记录的数量限制
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示查询该偏移量后面的记录
	Offset *int32 `json:"offset,omitempty"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

ListNodeEncryptdatasRequest Request Object

func (ListNodeEncryptdatasRequest) String added in v0.1.5

type ListNodeEncryptdatasResponse added in v0.1.5

type ListNodeEncryptdatasResponse struct {

	// 加密数据列表详情
	EncryptDatas *[]EncryptData `json:"encrypt_datas,omitempty"`

	// 加密数据总数
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListNodeEncryptdatasResponse Response Object

func (ListNodeEncryptdatasResponse) String added in v0.1.5

type ListPodsRequest

type ListPodsRequest struct {

	// 指定节点查询应用实例,可选, 与group_id、deployment_id、deployment_ids四选一
	NodeId *string `json:"node_id,omitempty"`

	// 指定节点组查询应用实例,可选,与node_id、deployment_id、deployment_ids四选一
	GroupId *string `json:"group_id,omitempty"`

	// 指定应用部署ID查询应用实例,可选, 与node_id、group_id、deployment_ids四选一
	DeploymentId *string `json:"deployment_id,omitempty"`

	// 指定应用部署ID列表查询应用实例,多个ID使用逗号分隔,可选, 与node_id、group_id、deployment_id四选一
	DeploymentIds *string `json:"deployment_ids,omitempty"`

	// 指定插件实例名称查询对应的应用实例列表,可选
	PluginInstanceName *string `json:"plugin_instance_name,omitempty"`

	// 查询返回记录的数量限制
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示查询该偏移量后面的记录
	Offset *int32 `json:"offset,omitempty"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

ListPodsRequest Request Object

func (ListPodsRequest) String

func (o ListPodsRequest) String() string

type ListPodsResponse

type ListPodsResponse struct {

	// 应用实例总数
	Count *int32 `json:"count,omitempty"`

	// 应用实例列表
	Pods           *[]PodResp `json:"pods,omitempty"`
	HttpStatusCode int        `json:"-"`
}

ListPodsResponse Response Object

func (ListPodsResponse) String

func (o ListPodsResponse) String() string

type ListProductsRequest added in v0.1.14

type ListProductsRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 查询返回记录的数量限制
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示查询该偏移量后面的记录
	Offset *int32 `json:"offset,omitempty"`

	// 显示的条目排列顺序,使用:分隔参考值和顺序, 如sort=created_at%3Adesc表示根据创建时间逆序排列
	Sort *string `json:"sort,omitempty"`
}

ListProductsRequest Request Object

func (ListProductsRequest) String added in v0.1.14

func (o ListProductsRequest) String() string

type ListProductsResponse added in v0.1.14

type ListProductsResponse struct {

	// 产品作业数目
	Count *int32 `json:"count,omitempty"`

	// 产品作业详情
	Products       *[]Product `json:"products,omitempty"`
	HttpStatusCode int        `json:"-"`
}

ListProductsResponse Response Object

func (ListProductsResponse) String added in v0.1.14

func (o ListProductsResponse) String() string

type ListResourceByTagsRequest

type ListResourceByTagsRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 资源类型 - ief-edge_node - ief-deployment - ief-application - ief-device
	ResourceType string `json:"resource_type"`

	Body *Tags `json:"body,omitempty"`
}

ListResourceByTagsRequest Request Object

func (ListResourceByTagsRequest) String

func (o ListResourceByTagsRequest) String() string

type ListResourceByTagsResponse

type ListResourceByTagsResponse struct {

	// 资源实例
	Resources *[]Resource `json:"resources,omitempty"`

	// 总记录数
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListResourceByTagsResponse Response Object

func (ListResourceByTagsResponse) String

type ListRuleErrorsRequest

type ListRuleErrorsRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 规则ID
	RuleId string `json:"rule_id"`

	// 查询返回记录的数量限制
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示查询该偏移量后面的记录
	Offset *int32 `json:"offset,omitempty"`
}

ListRuleErrorsRequest Request Object

func (ListRuleErrorsRequest) String

func (o ListRuleErrorsRequest) String() string

type ListRuleErrorsResponse

type ListRuleErrorsResponse struct {

	// 满足条件的错误个数
	Count *int64 `json:"count,omitempty"`

	// 错误列表
	Errors         *[]Error `json:"errors,omitempty"`
	HttpStatusCode int      `json:"-"`
}

ListRuleErrorsResponse Response Object

func (ListRuleErrorsResponse) String

func (o ListRuleErrorsResponse) String() string

type ListRulesRequest

type ListRulesRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 规则名称
	Name *string `json:"name,omitempty"`

	// 查询返回记录的数量限制
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示查询该偏移量后面的记录
	Offset *int32 `json:"offset,omitempty"`
}

ListRulesRequest Request Object

func (ListRulesRequest) String

func (o ListRulesRequest) String() string

type ListRulesResponse

type ListRulesResponse struct {

	// 规则配置
	Rules *[]RuleResponse `json:"rules,omitempty"`

	// 满足条件的规则个数
	Count          *int64 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListRulesResponse Response Object

func (ListRulesResponse) String

func (o ListRulesResponse) String() string

type ListSecretsRequest

type ListSecretsRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 密钥名称,模糊匹配
	Name *string `json:"name,omitempty"`

	// 每页显示的条目数量,取值范围1~1000,默认值为1000。
	Limit *string `json:"limit,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *string `json:"offset,omitempty"`

	// 排序方式,可根据名称、创建时间、更新时间排序 枚举值: - name - created_at - updated_at 默认升序,如sort=name,降序:sort=name%3Adesc
	Sort *string `json:"sort,omitempty"`
}

ListSecretsRequest Request Object

func (ListSecretsRequest) String

func (o ListSecretsRequest) String() string

type ListSecretsResponse

type ListSecretsResponse struct {

	// 密钥
	Secrets *[]SecretDetailResp `json:"secrets,omitempty"`

	// 满足条件的个数
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListSecretsResponse Response Object

func (ListSecretsResponse) String

func (o ListSecretsResponse) String() string

type ListServicesRequest

type ListServicesRequest struct {

	// 指定分页查询每页的行数,最大为100,默认值为10。
	Limit *int64 `json:"limit,omitempty"`

	// 指定要查询的偏移数量,默认为0。
	Offset *int64 `json:"offset,omitempty"`

	// 响应中查询到的服务将按照指定的字段进行排序
	Sorted *string `json:"sorted,omitempty"`

	// 服务名称
	Name *string `json:"name,omitempty"`

	// 按照相关的应用查询服务
	App *string `json:"app,omitempty"`

	// 铂金版实例ID
	IefInstanceId string `json:"ief-instance-id"`
}

ListServicesRequest Request Object

func (ListServicesRequest) String

func (o ListServicesRequest) String() string

type ListServicesResponse

type ListServicesResponse struct {

	// 满足条件的端点个数
	Count *int64 `json:"count,omitempty"`

	// 服务列表
	Services       *[]ServiceRespDetail `json:"services,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

ListServicesResponse Response Object

func (ListServicesResponse) String

func (o ListServicesResponse) String() string

type ListSystemEventsRequest added in v0.1.14

type ListSystemEventsRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 系统订阅名称
	Name *string `json:"name,omitempty"`

	// 查询返回记录的数量限制
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量,表示查询该偏移量后面的记录
	Offset *int32 `json:"offset,omitempty"`
}

ListSystemEventsRequest Request Object

func (ListSystemEventsRequest) String added in v0.1.14

func (o ListSystemEventsRequest) String() string

type ListSystemEventsResponse added in v0.1.14

type ListSystemEventsResponse struct {

	// 数目
	Count *int32 `json:"count,omitempty"`

	// 系统订阅详情列表
	Systemevents   *[]Event `json:"systemevents,omitempty"`
	HttpStatusCode int      `json:"-"`
}

ListSystemEventsResponse Response Object

func (ListSystemEventsResponse) String added in v0.1.14

func (o ListSystemEventsResponse) String() string

type ListTagsByResourceTypeRequest

type ListTagsByResourceTypeRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 资源类型 - ief-edge_node - ief-deployment - ief-application - ief-device
	ResourceType string `json:"resource_type"`
}

ListTagsByResourceTypeRequest Request Object

func (ListTagsByResourceTypeRequest) String

type ListTagsByResourceTypeResponse

type ListTagsByResourceTypeResponse struct {

	// 标签列表
	Tags *[]Tag `json:"tags,omitempty"`

	// 标签数量
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListTagsByResourceTypeResponse Response Object

func (ListTagsByResourceTypeResponse) String

type ListTagsRequest

type ListTagsRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 资源ID
	ResourceId string `json:"resource_id"`

	// 资源类型 1. ief-edge_node 2. ief-deployment 3. ief-application 4. ief-device
	ResourceType string `json:"resource_type"`
}

ListTagsRequest Request Object

func (ListTagsRequest) String

func (o ListTagsRequest) String() string

type ListTagsResponse

type ListTagsResponse struct {

	// 标签属性
	Tags *[]ResourceTag `json:"tags,omitempty"`

	// 标签数量
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListTagsResponse Response Object

func (ListTagsResponse) String

func (o ListTagsResponse) String() string

type LogConfigs

type LogConfigs struct {

	// 数据库保存的主键,不需要关注此字段。
	Id *string `json:"id,omitempty"`

	// 应用日志文件大小限制,单位MB,默认50,取值范围10-1000。
	Size *int32 `json:"size,omitempty"`

	// - 当type为LTS时,应用级日志可配置为On或Off;系统级日志可配置为Off/Error/Warning/Info/Debug; - 当type为local时,无需配置level。
	Level *string `json:"level,omitempty"`

	// 应用日志rotate个数,默认5,取值范围1-10。
	RotateNum *int32 `json:"rotate_num,omitempty"`

	// 应用日志rotate周期,可选项: - daily - monthly - weekly - yearly
	RotatePeriod *string `json:"rotate_period,omitempty"`

	// - LTS:将日志发送到AOM - local:本地日志
	Type string `json:"type"`

	// - app:部署到边缘节点上的应用的日志 - system:边缘节点上系统的日志
	Component string `json:"component"`
}

LogConfigs 边缘节点日志配置

func (LogConfigs) String

func (o LogConfigs) String() string

type MatchExpression

type MatchExpression struct {

	// 规则的标签
	Key *string `json:"key,omitempty"`

	// 操作符,取值如下: - In:标签值需要在values的列表中 - NotIn:标签的值不在某个列表中 - Exists:某个标签存在 - DoesNotExist:某个标签不存在 - Gt:标签的值大于某个值(字符串比较) - Lt:标签的值小于某个值(字符串比较)
	Operator *string `json:"operator,omitempty"`

	// 一组标签值。 - 如果运算符为In或NotIn,则值数组必须非空。 - 如果运算符为Exists 或DoesNotExist,则值数组必须为空。 - 如果运算符是Gt或Lt,则值数组必须具有单个元素,该元素将被解释为整数。
	Values *[]string `json:"values,omitempty"`
}

MatchExpression 匹配规则表达式

func (MatchExpression) String

func (o MatchExpression) String() string

type MatchExpressions

type MatchExpressions struct {

	// 匹配规则表达式
	MatchExpressions *[]MatchExpression `json:"matchExpressions,omitempty"`
}

MatchExpressions 匹配规则表达式

func (MatchExpressions) String

func (o MatchExpressions) String() string

type Matches

type Matches struct {

	// 键。限定为resource_name,后续扩展。
	Key string `json:"key"`

	// 值。每个值最大长度64个unicode字符。不校验字符集范围。
	Value *string `json:"value,omitempty"`
}

Matches 搜索字段,key为要匹配的字段,如resource_name等。value为匹配的值。key为固定字典值,不能包含重复的key或不支持的key。 根据key的值确认是否需要模糊匹配,如resource_name默认为模糊搜索(不区分大小写,不支持*,支持字符串匹配),如果value为空字符串则返回空列表(IEF服务不存在资源名称为空的情况,因此这类情况返回空列表)。

func (Matches) String

func (o Matches) String() string

type Metadata

type Metadata struct {

	// 属性类型标识,string|int|float|boolean(boolean类型为true或false),默认为string
	Type *string `json:"type,omitempty"`
}

func (Metadata) String

func (o Metadata) String() string

type Mqtt

type Mqtt struct {

	// MQTT监听地址,根据type取值确定。
	BindAddr string `json:"bind_addr"`

	// 端口号。
	Port int32 `json:"port"`

	// 类型。枚举值: - nic:网卡类型 - ip:IP类型
	Type string `json:"type"`
}

Mqtt MQTT配置。 当enable_mqtt取值为false时,mqtts需要为空数组。

func (Mqtt) String

func (o Mqtt) String() string

type MqttConfigs added in v0.0.96

type MqttConfigs struct {

	// 是否启用MQTT
	EnableMqtt bool `json:"enable_mqtt"`

	// MQTT配置 当enable_mqtt取值为false时,mqtts需要为空数组
	Mqtts []Mqtt `json:"mqtts"`
}

MqttConfigs MQTT配置

func (MqttConfigs) String added in v0.0.96

func (o MqttConfigs) String() string

type Nics

type Nics struct {

	// 边缘节点网卡名称
	Interface *string `json:"interface,omitempty"`

	// 上述网卡对应的IPv4地址
	Ip *string `json:"ip,omitempty"`
}

func (Nics) String

func (o Nics) String() string

type Node

type Node struct {
	Node *EdgeNode `json:"node"`
}

Node 边缘节点参数

func (Node) String

func (o Node) String() string

type NodeAction

type NodeAction struct {
	Node *Action `json:"node"`
}

NodeAction 节点启停

func (NodeAction) String

func (o NodeAction) String() string

type NodeCert

type NodeCert struct {

	// 证书id
	Id *string `json:"id,omitempty"`

	// 证书名称
	Name *string `json:"name,omitempty"`

	// 证书的描述
	Description *string `json:"description,omitempty"`

	// 证书的创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 节点id
	NodeId *string `json:"node_id,omitempty"`

	// 证书类型,包含: - system:创建节点时会默认创建一套系统证书 - application:应用证书 - device:设备证书
	Type *string `json:"type,omitempty"`

	// 证书序列号
	SerialNum *string `json:"serial_num,omitempty"`
}

func (NodeCert) String

func (o NodeCert) String() string

type NodeDevice

type NodeDevice struct {
	Added *DeviceInfos `json:"added,omitempty"`

	// 要解绑的终端设备ID
	Removed *[]string `json:"removed,omitempty"`
}

NodeDevice 边缘节点的终端设备信息

func (NodeDevice) String

func (o NodeDevice) String() string

type NodeDeviceInfos added in v0.0.96

type NodeDeviceInfos struct {

	// 终端设备和节点关系的名称,只允许中文字符、英文字母、数字、下划线、中划线,最大长度64
	Relation *string `json:"relation,omitempty"`

	// 终端设备和节点关系的描述,最大长度64,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Comment *string `json:"comment,omitempty"`

	// 节点ID列表,一个设备只可以被绑定于一个边缘节点。
	NodeIds []string `json:"node_ids"`
}

NodeDeviceInfos 要加入的节点详情

func (NodeDeviceInfos) String added in v0.0.96

func (o NodeDeviceInfos) String() string

type NodeResTag

type NodeResTag struct {

	// 键。最大长度36个unicode字符。 不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”。
	Key *string `json:"key,omitempty"`

	// 值。每个值最大长度43个unicode字符,删除时如果value有值按照key/value删除,如果value没值,则按照key删除。 不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”。
	Value *string `json:"value,omitempty"`
}

NodeResTag 标签属性

func (NodeResTag) String

func (o NodeResTag) String() string

type NodeUpdateByDevice

type NodeUpdateByDevice struct {
	Added *NodeDeviceInfos `json:"added,omitempty"`

	// 要解绑的终端设备ID
	Removed *[]string `json:"removed,omitempty"`
}

NodeUpdateByDevice 边缘节点的终端设备信息

func (NodeUpdateByDevice) String

func (o NodeUpdateByDevice) String() string

type NpuInfo

type NpuInfo struct {

	// NPU名称
	Name *string `json:"name,omitempty"`

	// NPU类型
	Type *string `json:"type,omitempty"`

	// NPU memory大小
	Capacity *string `json:"capacity,omitempty"`

	// NPU驱动版本
	DriverVersion *string `json:"driver_version,omitempty"`
}

func (NpuInfo) String

func (o NpuInfo) String() string

type NtpConfigs

type NtpConfigs struct {

	// ntp服务是否开启
	NtpEnabled *bool `json:"ntp_enabled,omitempty"`

	// ntp server地址
	NtpServers *[]string `json:"ntp_servers,omitempty"`
}

NtpConfigs ntp配置

func (NtpConfigs) String

func (o NtpConfigs) String() string

type PodAffinityTerm

type PodAffinityTerm struct {
	LabelSelector *PodAffinityTermLabelSelector `json:"labelSelector,omitempty"`

	// 命名空间
	Namespaces *[]string `json:"namespaces,omitempty"`

	// 拓扑标签。先圈定topologyKey指定的范围,然后再选择labelSelector定义的内容,即亲和调度只会在有topologyKey指定的标签节点上调度。
	TopologyKey *string `json:"topologyKey,omitempty"`
}

PodAffinityTerm Pod亲和规则

func (PodAffinityTerm) String

func (o PodAffinityTerm) String() string

type PodAffinityTermLabelSelector

type PodAffinityTermLabelSelector struct {

	// 匹配规则表达式
	MatchExpressions *[]MatchExpression `json:"matchExpressions,omitempty"`

	// 匹配的标签,格式为key:value键值对。 单个键值对相当于matchExpressions的一个元素,key字段为key,操作符为In,values数组中只有value。
	MatchLabels map[string]string `json:"matchLabels,omitempty"`
}

PodAffinityTermLabelSelector 标签选择器

func (PodAffinityTermLabelSelector) String

type PodConfigs

type PodConfigs struct {

	// 应用实例是否启用主机网络,不启用则使用端口映射,默认值false
	HostNetwork *bool `json:"host_network,omitempty"`

	// 应用实例是否与主机共PID命名空间,默认值false
	HostPid *bool `json:"host_pid,omitempty"`

	// 应用实例故障是否迁移,指定节点组部署时必选,默认值false
	Migration *bool `json:"migration,omitempty"`

	// 应用实例重启策略,可选值Always、OnFailure、Never
	RestartPolicy string `json:"restart_policy"`

	// 应用实例故障容忍时间,容忍时间到达后迁移应用实例,只在指定节点组部署时生效
	TolerationSeconds *int32 `json:"toleration_seconds,omitempty"`

	// 应用实例DNS策略,可选值Default、ClusterFirst、ClusterFirstWithHostNet,默认为Default。应用实例启用主机网络时只能选填Default、ClusterFirstWithHostNet,不启用主机网络时只能选填Default、ClusterFirst
	DnsPolicy *string `json:"dns_policy,omitempty"`
}

PodConfigs 应用实例配置

func (PodConfigs) String

func (o PodConfigs) String() string

type PodRequest

type PodRequest struct {
	Configs *PodConfigs `json:"configs"`

	Affinity *Affinity `json:"affinity,omitempty"`

	// 应用部署init业务容器
	InitContainers *[]ContainerDef `json:"init_containers,omitempty"`

	// 应用部署业务容器
	Containers []ContainerDef `json:"containers"`
}

PodRequest 应用部署模板

func (PodRequest) String

func (o PodRequest) String() string

type PodResp

type PodResp struct {

	// 应用实例uuid
	Id string `json:"id"`

	// 应用实例名称
	Name string `json:"name"`

	Configs *PodConfigs `json:"configs"`

	// 应用实例init容器
	InitContainers *[]ContainerResp `json:"init_containers,omitempty"`

	// 应用实例业务容器
	Containers []ContainerResp `json:"containers"`

	// 应用实例所在节点
	NodeId string `json:"node_id"`

	// 应用ID
	DeploymentId string `json:"deployment_id"`

	// 项目ID
	ProjectId string `json:"project_id"`

	// 应用实例故障原因
	Reason string `json:"reason"`

	// 应用实例故障详情
	Message string `json:"message"`

	// 应用实例创建时间
	CreatedAt string `json:"created_at"`

	// 应用实例状态: - RUNNING:实例运行中 - PENDING:实例等待创建 - SUCCEEDED:实例执行成功 - FAILED:实例运行失败 - CREATE_FAIL:实例创建失败 - TERMINATING:实例终止中 - PENDING_DELETE:实例等待删除 - DELETE_FAILED:实例删除失败 - FREEZE:实例冻结 - UNKNOWN:实例状态未知
	State string `json:"state"`
}

func (PodResp) String

func (o PodResp) String() string

type Ports

type Ports struct {

	// 构成一堆映射的容器端口
	ContainerPort *int32 `json:"container_port,omitempty"`

	// 构成一对映射的物理机对应网卡端口
	HostPort *int32 `json:"host_port,omitempty"`

	// 对应网卡地址
	HostIp *string `json:"host_ip,omitempty"`
}

Ports 容器端口映射值

func (Ports) String

func (o Ports) String() string

type PreferredSchedulingTerm

type PreferredSchedulingTerm struct {
	Preference *PreferredSchedulingTermPreference `json:"preference,omitempty"`

	// 权重,范围为1-100
	Weight *int32 `json:"weight,omitempty"`
}

PreferredSchedulingTerm 优先使用定义的规则调度,且不会影响已经在节点上运行的Pod。即优先选择调度到满足规则的节点,但也可能会调度到不满足规则的节点。

func (PreferredSchedulingTerm) String

func (o PreferredSchedulingTerm) String() string

type PreferredSchedulingTermPreference

type PreferredSchedulingTermPreference struct {

	// 匹配规则表达式
	MatchExpressions *[]MatchExpression `json:"matchExpressions,omitempty"`
}

PreferredSchedulingTermPreference 与相应权重关联的节点选择器项。

func (PreferredSchedulingTermPreference) String

type Probe

type Probe struct {
	Exec *Exec `json:"exec,omitempty"`

	HttpGet *HttpGetDetail `json:"http_get,omitempty"`

	// 表示从工作负载启动后从多久开始探测,大于0且不大于3600的整数,默认为10
	InitialDelaySeconds *int32 `json:"initial_delay_seconds,omitempty"`

	// 表示探测超时时间,大于0且不大于3600的整数,默认为1
	TimeoutSeconds *int32 `json:"timeout_seconds,omitempty"`
}

Probe 探针配置

func (Probe) String

func (o Probe) String() string

type ProbeDetail added in v0.0.96

type ProbeDetail struct {

	// 执行探测的命令行命令,长度1-10240内的字符串
	ExecCommand *string `json:"exec_command,omitempty"`

	HttpGet *HttpGetDetail `json:"http_get,omitempty"`

	// 表示从工作负载启动后从多久开始探测,大于0且不大于3600的整数,默认为10
	InitialDelaySeconds *int32 `json:"initial_delay_seconds,omitempty"`

	// 表示探测超时时间,大于0且不大于3600的整数,默认为1
	TimeoutSeconds *int32 `json:"timeout_seconds,omitempty"`
}

ProbeDetail 探针配置

func (ProbeDetail) String added in v0.0.96

func (o ProbeDetail) String() string

type Product added in v0.1.14

type Product struct {

	// 产品id
	Id *string `json:"id,omitempty"`

	// 产品名称
	Name string `json:"name"`

	// 产品描述
	Description *string `json:"description,omitempty"`

	// 产品属性值
	Attributes map[string]ProductAttributes `json:"attributes,omitempty"`

	// 产品所属账号的项目ID
	ProjectId string `json:"project_id"`

	// 产品创建时间
	CreatedAt *int32 `json:"created_at,omitempty"`

	// 产品标签
	Tags *[]Attributes `json:"tags,omitempty"`
}

Product 产品详情

func (Product) String added in v0.1.14

func (o Product) String() string

type ProductAttributes added in v0.1.14

type ProductAttributes struct {

	// 产品属性值
	Value *string `json:"value,omitempty"`

	Metadata *ProductMetadata `json:"metadata,omitempty"`
}

ProductAttributes 产品属性

func (ProductAttributes) String added in v0.1.14

func (o ProductAttributes) String() string

type ProductCreateRequest added in v0.1.14

type ProductCreateRequest struct {
	Product *ProductRequest `json:"product"`
}

ProductCreateRequest 产品参数

func (ProductCreateRequest) String added in v0.1.14

func (o ProductCreateRequest) String() string

type ProductMetadata added in v0.1.14

type ProductMetadata struct {

	// 产品属性值类型
	Type *string `json:"type,omitempty"`
}

ProductMetadata 产品属性值基本信息

func (ProductMetadata) String added in v0.1.14

func (o ProductMetadata) String() string

type ProductRequest added in v0.1.14

type ProductRequest struct {

	// 产品名称,允许输入小写字母,数字,中划线,不能以中划线开头或结尾,最大长度为26位
	Name string `json:"name"`

	// 产品描述
	Description *string `json:"description,omitempty"`

	// 产品属性值
	Attributes map[string]ProductAttributes `json:"attributes,omitempty"`

	// 产品标签
	Tags *[]Attributes `json:"tags,omitempty"`
}

ProductRequest 产品详情请求体

func (ProductRequest) String added in v0.1.14

func (o ProductRequest) String() string

type ProductResponse added in v0.1.14

type ProductResponse struct {

	// 产品id
	Id *string `json:"id,omitempty"`

	// 产品名称
	Name string `json:"name"`

	// 产品描述
	Description *string `json:"description,omitempty"`

	// 产品属性值
	Attributes map[string]ProductAttributes `json:"attributes,omitempty"`

	// 产品所属账号的项目ID
	ProjectId string `json:"project_id"`

	// 产品创建时间戳
	CreatedAt *int32 `json:"created_at,omitempty"`

	// 产品标签
	Tags *[]Attributes `json:"tags,omitempty"`

	// 产品私钥
	PrivateKey *string `json:"private_key,omitempty"`

	// 产品证书
	Certificate *string `json:"certificate,omitempty"`

	// 产品根证书
	Ca *string `json:"ca,omitempty"`

	// 将产品证书文件certificate/ca/private_key打成.tar.gz包后用base64编码的字符串。 使用时请使用base64解码成.tar.gz包。
	Package *string `json:"package,omitempty"`

	// 产品使用token注册时的凭证
	Identifier *string `json:"identifier,omitempty"`
}

ProductResponse 产品详情返回体

func (ProductResponse) String added in v0.1.14

func (o ProductResponse) String() string

type QuotaResource added in v0.1.14

type QuotaResource struct {

	// 已创建的资源个数
	Used *int32 `json:"used,omitempty"`

	// 最少可创建的资源个数
	Min *int32 `json:"min,omitempty"`

	// 最多可创建的资源个数
	Max *int32 `json:"max,omitempty"`

	// 资源配额限制
	Quota *int32 `json:"quota,omitempty"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 查询配额的资源类型,支持填写: - edge_node: 边缘节点 - node_cert: 边缘节点证书 - edge_group: 边缘节点组 - group_cert: 边缘节点组证书 - application: 应用模板 - deployment: 容器应用 - device_template: 终端设备模板 - device: 终端设备 - app_version: 应用模板的版本 - tag: 标签  - configmap: 配置项 - secret: 密钥 - ief_instance: 铂金版实例 - service: 服务网格 - gateway: 服务网关
	Type *string `json:"type,omitempty"`
}

QuotaResource 资源配置

func (QuotaResource) String added in v0.1.14

func (o QuotaResource) String() string

type QuotaResourceList added in v0.1.14

type QuotaResourceList struct {

	// 资源列表
	Resources *[]QuotaResource `json:"resources,omitempty"`
}

QuotaResourceList 资源列表

func (QuotaResourceList) String added in v0.1.14

func (o QuotaResourceList) String() string

type RequiredDuringScheduling

type RequiredDuringScheduling struct {

	// 节点选择规则
	NodeSelectorTerms *[]MatchExpressions `json:"nodeSelectorTerms,omitempty"`
}

RequiredDuringScheduling 强制使用定义的规则调度,且不会影响已经在节点上运行的Pod。即强制选择调度到满足规则的节点,不会调度到不满足规则的节点。

func (RequiredDuringScheduling) String

func (o RequiredDuringScheduling) String() string

type Resource

type Resource struct {

	// 资源ID
	ResourceId string `json:"resource_id"`

	// 标签列表,没有标签默认为空数组
	Tags []ResourceTag `json:"tags"`

	// 资源名称,资源没有名称时默认为空字符串。
	ResourceName string `json:"resource_name"`
}

func (Resource) String

func (o Resource) String() string

type ResourceTag

type ResourceTag struct {

	// 键。最大长度36个unicode字符。 不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”。
	Key *string `json:"key,omitempty"`

	// 值。每个值最大长度43个unicode字符,删除时如果value有值按照key/value删除,如果value没值,则按照key删除。 不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”。
	Value *string `json:"value,omitempty"`
}

ResourceTag 标签属性

func (ResourceTag) String

func (o ResourceTag) String() string

type Resources

type Resources struct {
	Limits *LimitsRequests `json:"limits,omitempty"`

	Requests *LimitsRequests `json:"requests,omitempty"`
}

Resources 容器使用的资源

func (Resources) String

func (o Resources) String() string

type RestartDeploymentsPodRequest added in v0.1.5

type RestartDeploymentsPodRequest struct {

	// 应用部署ID
	DeploymentId string `json:"deployment_id"`

	// 应用实例名称
	PodName string `json:"pod_name"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

RestartDeploymentsPodRequest Request Object

func (RestartDeploymentsPodRequest) String added in v0.1.5

type RestartDeploymentsPodResponse added in v0.1.5

type RestartDeploymentsPodResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

RestartDeploymentsPodResponse Response Object

func (RestartDeploymentsPodResponse) String added in v0.1.5

type RestoreBatchJobRequest added in v0.1.14

type RestoreBatchJobRequest struct {

	// 批量处理作业ID
	JobId string `json:"job_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

RestoreBatchJobRequest Request Object

func (RestoreBatchJobRequest) String added in v0.1.14

func (o RestoreBatchJobRequest) String() string

type RestoreBatchJobResponse added in v0.1.14

type RestoreBatchJobResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

RestoreBatchJobResponse Response Object

func (RestoreBatchJobResponse) String added in v0.1.14

func (o RestoreBatchJobResponse) String() string

type RetryBatchJobRequest added in v0.1.14

type RetryBatchJobRequest struct {

	// 批量处理作业ID
	JobId string `json:"job_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

RetryBatchJobRequest Request Object

func (RetryBatchJobRequest) String added in v0.1.14

func (o RetryBatchJobRequest) String() string

type RetryBatchJobResponse added in v0.1.14

type RetryBatchJobResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

RetryBatchJobResponse Response Object

func (RetryBatchJobResponse) String added in v0.1.14

func (o RetryBatchJobResponse) String() string

type RuleConfig

type RuleConfig struct {

	// 规则描述,最大长度255,不允许^~#$%&*<>()[]{}'\"\\
	Description *string `json:"description,omitempty"`

	// 铂金版实例ID,如果为空则表示是专业版实例。
	IefInstanceId *string `json:"ief_instance_id,omitempty"`

	// 是否启用规则,默认为true(启用)
	InUsing *bool `json:"in_using,omitempty"`

	// 规则名称,只允许中文字符、英文字符、数字、下划线、中划线,最大长度64 同一个帐号中创建的规则名唯一
	Name string `json:"name"`

	// 源端点ID
	Source string `json:"source"`

	// 源端点资源。示例: - rest: {\"path\":\"<standard uri format>\"} - eventbus: {\"topic\":\"<project id>/nodes/<node id>/user/<租户自定义且满足eventbus topic要求的字符串>\",\"node_id\":\"<node id>\"}
	SourceResource map[string]string `json:"source_resource"`

	// 目的端点ID
	Target string `json:"target"`

	// 目的端点资源。示例: - dis: {\"channel\": \"dis channel name\"} - servicebus: {\"path\": \"/request path\"} - apigw: {\"resource\": \"http://ssss.com\"} - eventbus: {\"topic\": \"/xxxx\"}
	TargetResource map[string]string `json:"target_resource"`
}

RuleConfig 规则配置

func (RuleConfig) String

func (o RuleConfig) String() string

type RuleDetail

type RuleDetail struct {
	Rule *RuleConfig `json:"rule,omitempty"`
}

RuleDetail 规则配置

func (RuleDetail) String

func (o RuleDetail) String() string

type RuleResponse

type RuleResponse struct {

	// 创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 规则描述,最大长度255,不允许^~#$%&*<>()[]{}'\"\\
	Description *string `json:"description,omitempty"`

	// 转发失败的消息数
	FailMessages *int32 `json:"fail_messages,omitempty"`

	// 规则ID
	Id *string `json:"id,omitempty"`

	// 铂金版实例ID,如果为空则表示是专业版实例。
	IefInstanceId *string `json:"ief_instance_id,omitempty"`

	// 是否启用规则,默认为true(启用)
	InUsing *bool `json:"in_using,omitempty"`

	// 规则名称,只允许中文字符、英文字符、数字、下划线、中划线,最大长度64 同一个帐号中创建的规则名唯一
	Name string `json:"name"`

	// 项目ID
	ProjectId string `json:"project_id"`

	Source *EndpointObjResp `json:"source"`

	// 源端点资源。 示例: - rest: path取值需要为标准URI格式。 {\"path\":\"/a/b/c\"} - eventbus: {\"topic\": \"<project id>/nodes/<node id>/user/<租户自定义且满足eventbus topic要求的字符串>\",\"node_id\":\"<node id>\"}
	SourceResource map[string]string `json:"source_resource"`

	Target *EndpointObjResp `json:"target"`

	// 目的端点资源,示例: - dis: {\"channel\": \"dis channel name\"} - servicebus: {\"path\": \"/request path\"} - apigw: {\"resource\": \"http://ssss.com\"} - eventbus: {\"topic\": \"/xxxx\"}
	TargetResource map[string]string `json:"target_resource"`

	// 更新时间
	UpdatedAt string `json:"updated_at"`

	// 转发成功的消息数
	SuccessMessages int32 `json:"success_messages"`
}

RuleResponse 规则配置

func (RuleResponse) String

func (o RuleResponse) String() string

type Secret

type Secret struct {
	Secret *SecretDetail `json:"secret"`
}

Secret 密钥。

func (Secret) String

func (o Secret) String() string

type SecretDetail

type SecretDetail struct {

	// 密钥名称,以小写英文字母开头,4-64位,可以使用小写英文、数字、中划线(-),不能以中划线结尾
	Name string `json:"name"`

	// 密钥类型,目前只支持“Opaque”类型
	Type *string `json:"type,omitempty"`

	// 密钥描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description *string `json:"description,omitempty"`

	// secrets是一个字典,由多个键值对组成,json化后最大总长度为1048576,key和value均为字符串。键值对中key由大小写字母或中划线开头,由数字、大小写字母、点号(.)、中划线(-)、下划线(_)组成,最小长度为1,最大长度63个字符, 键值对中的value必须为base64字符。 注:secrets字典的长度即字典转为标准的字符串后的长度,例如字典{\"a\": \"b\"}转为标准字符串后为'{\"a\": \"b\"}',长度为10
	Secrets map[string]string `json:"secrets"`
}

SecretDetail 密钥

func (SecretDetail) String

func (o SecretDetail) String() string

type SecretDetailResp

type SecretDetailResp struct {

	// 密钥ID
	Id string `json:"id"`

	// 密钥名称,以小写英文字母开头,4-64位,可以使用小写英文、数字、中划线(-),不能以中划线结尾
	Name string `json:"name"`

	// 密钥描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description string `json:"description"`

	// secrets是一个字典,由多个键值对组成,json化后最大总长度为1048576,key和value均为字符串。键值对中key由大小写字母或中划线开头,由数字、大小写字母、点号(.)、中划线(-)、下划线(_)组成,最小长度为1,最大长度63个字符, 键值对中的value必须为base64字符。 注:secrets字典的长度即字典转为标准的字符串后的长度,例如字典{\"a\": \"b\"}转为标准字符串后为'{\"a\": \"b\"}',长度为10
	Secrets map[string]string `json:"secrets"`

	// 项目ID
	ProjectId string `json:"project_id"`

	// 创建时间
	CreatedAt string `json:"created_at"`

	// 更新时间
	UpdatedAt string `json:"updated_at"`

	// 密钥类型,目前只支持“Opaque”类型
	Type string `json:"type"`
}

SecretDetailResp 密钥

func (SecretDetailResp) String

func (o SecretDetailResp) String() string

type Secrets

type Secrets struct {

	// 密钥的名称
	Name string `json:"name"`

	// 密钥的属性名
	Key string `json:"key"`
}

Secrets 环境变量引用密钥时使用。使用ValueFrom时,secret与configmap必须二选一。

func (Secrets) String

func (o Secrets) String() string

type Service

type Service struct {
	Service *ServiceReqDetail `json:"service,omitempty"`
}

Service 服务详情

func (Service) String

func (o Service) String() string

type ServiceReqDetail

type ServiceReqDetail struct {
	MetaData *SvcMetadata `json:"meta_data"`

	Spec *SvcSpec `json:"spec"`
}

ServiceReqDetail 服务详情

func (ServiceReqDetail) String

func (o ServiceReqDetail) String() string

type ServiceRespDetail

type ServiceRespDetail struct {

	// 创建时间
	CreatedAt string `json:"created_at"`

	// 服务ID
	Id string `json:"id"`

	MetaData *SvcMetadata `json:"meta_data"`

	// 租户ID
	ProjectId string `json:"project_id"`

	Spec *SvcSpec `json:"spec"`

	// 更新时间
	UpdatedAt string `json:"updated_at"`
}

ServiceRespDetail 服务详情

func (ServiceRespDetail) String

func (o ServiceRespDetail) String() string

type ShowAppDetailRequest

type ShowAppDetailRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 应用模板ID
	AppId string `json:"app_id"`
}

ShowAppDetailRequest Request Object

func (ShowAppDetailRequest) String

func (o ShowAppDetailRequest) String() string

type ShowAppDetailResponse

type ShowAppDetailResponse struct {
	App            *AppResp `json:"app,omitempty"`
	HttpStatusCode int      `json:"-"`
}

ShowAppDetailResponse Response Object

func (ShowAppDetailResponse) String

func (o ShowAppDetailResponse) String() string

type ShowAppVersionDetailRequest

type ShowAppVersionDetailRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 应用模板ID
	AppId string `json:"app_id"`

	// 应用模板版本ID
	VersionId string `json:"version_id"`
}

ShowAppVersionDetailRequest Request Object

func (ShowAppVersionDetailRequest) String

type ShowAppVersionDetailResponse

type ShowAppVersionDetailResponse struct {
	Version        *AppVersionDetail `json:"version,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ShowAppVersionDetailResponse Response Object

func (ShowAppVersionDetailResponse) String

type ShowBatchJobRequest added in v0.1.14

type ShowBatchJobRequest struct {

	// 批量处理作业ID
	JobId string `json:"job_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

ShowBatchJobRequest Request Object

func (ShowBatchJobRequest) String added in v0.1.14

func (o ShowBatchJobRequest) String() string

type ShowBatchJobResponse added in v0.1.14

type ShowBatchJobResponse struct {

	// 批量处理作业ID
	JobId *string `json:"job_id,omitempty"`

	// 批量处理作业名称
	JobName *string `json:"job_name,omitempty"`

	// 批量作业类型,支持以下选项: - node_upgrade: 节点升级 - deployment_deploy:应用部署 - deployment_upgrade:应用升级
	JobType *string `json:"job_type,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 创建时间戳
	CreatedAt *int32 `json:"created_at,omitempty"`

	// 执行状态
	Status *string `json:"status,omitempty"`

	// 任务总数
	TaskTotalCount *int32 `json:"task_total_count,omitempty"`

	// 任务项执行成功数
	TaskFailedCount *int32 `json:"task_failed_count,omitempty"`

	// 任务项执行失败数
	TaskSuccessCount *int32 `json:"task_success_count,omitempty"`

	// 批量作业对象类型,支持如下选项: - node:边缘节点 - node_group:边缘节点组 - deployment:边缘应用
	TargetType *string `json:"target_type,omitempty"`

	// 批量作业内容,仅在批量应用部署和批量应用升级时需要填写,填入的内容为:使用json结构体编写的创建应用部署接口请求体deployment参数,并将其转换为字符串
	TaskData *string `json:"task_data,omitempty"`

	// 任务项详情
	Tasks *[]Task `json:"tasks,omitempty"`

	// 批量处理对象详情
	Targets *[]Target `json:"targets,omitempty"`

	// 状态更新时间戳
	StatusLastUpdatedAt *int32 `json:"status_last_updated_at,omitempty"`
	HttpStatusCode      int    `json:"-"`
}

ShowBatchJobResponse Response Object

func (ShowBatchJobResponse) String added in v0.1.14

func (o ShowBatchJobResponse) String() string

type ShowConfigMapRequest

type ShowConfigMapRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 配置项ID
	ConfigmapId string `json:"configmap_id"`
}

ShowConfigMapRequest Request Object

func (ShowConfigMapRequest) String

func (o ShowConfigMapRequest) String() string

type ShowConfigMapResponse

type ShowConfigMapResponse struct {
	Configmap      *ConfigMapResp `json:"configmap,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ShowConfigMapResponse Response Object

func (ShowConfigMapResponse) String

func (o ShowConfigMapResponse) String() string

type ShowDeploymentRequest

type ShowDeploymentRequest struct {

	// 应用部署ID
	DeploymentId string `json:"deployment_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

ShowDeploymentRequest Request Object

func (ShowDeploymentRequest) String

func (o ShowDeploymentRequest) String() string

type ShowDeploymentResponse

type ShowDeploymentResponse struct {

	// 应用部署uuid
	Id *string `json:"id,omitempty"`

	// 应用部署名称,只允许英文小写字母、数字、中划线,最大长度32, 英文小写字母或数字开头和结尾
	Name *string `json:"name,omitempty"`

	// 应用部署总副本数
	Replicas *int32 `json:"replicas,omitempty"`

	// 应用部署正常副本数
	ReadyReplicas *int32 `json:"ready_replicas,omitempty"`

	// 应用部署描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description *string `json:"description,omitempty"`

	// 应用部署到指定节点组,与node_ids二选一
	GroupId *string `json:"group_id,omitempty"`

	// 应用部署到指定节点,当前只支持一个边缘节点
	NodeIds *[]string `json:"node_ids,omitempty"`

	// 节点属性
	Tags *[]Attributes `json:"tags,omitempty"`

	// 应用部署版本
	ApiVersion *string `json:"api_version,omitempty"`

	// 应用部署来源:边缘市场(iem)或自定义(userdefined)
	Source *string `json:"source,omitempty"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 应用部署创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 应用部署更新时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	Template *PodRequest `json:"template,omitempty"`

	// 应用状态,仅包括冻结(FREEZE)、删除中(PENDING_DELETE)、删除失败(DELETE_FAILED),保留字段
	State *string `json:"state,omitempty"`

	// 预留字段
	SourceId *string `json:"source_id,omitempty"`

	Annotations    *Annotations `json:"annotations,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ShowDeploymentResponse Response Object

func (ShowDeploymentResponse) String

func (o ShowDeploymentResponse) String() string

type ShowDeviceRequest

type ShowDeviceRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 终端设备ID
	DeviceId string `json:"device_id"`
}

ShowDeviceRequest Request Object

func (ShowDeviceRequest) String

func (o ShowDeviceRequest) String() string

type ShowDeviceResponse

type ShowDeviceResponse struct {
	Device         *Device `json:"device,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDeviceResponse Response Object

func (ShowDeviceResponse) String

func (o ShowDeviceResponse) String() string

type ShowDeviceTemplateRequest

type ShowDeviceTemplateRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 设备模板ID
	DeviceTemplateId string `json:"device_template_id"`
}

ShowDeviceTemplateRequest Request Object

func (ShowDeviceTemplateRequest) String

func (o ShowDeviceTemplateRequest) String() string

type ShowDeviceTemplateResponse

type ShowDeviceTemplateResponse struct {
	DeviceTemplate *EdgemgrDevice `json:"device_template,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ShowDeviceTemplateResponse Response Object

func (ShowDeviceTemplateResponse) String

type ShowDeviceTwinRequest

type ShowDeviceTwinRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 终端设备ID
	DeviceId string `json:"device_id"`
}

ShowDeviceTwinRequest Request Object

func (ShowDeviceTwinRequest) String

func (o ShowDeviceTwinRequest) String() string

type ShowDeviceTwinResponse

type ShowDeviceTwinResponse struct {
	PropertyVisitors *ValueInPropertyVisitors `json:"property_visitors,omitempty"`

	Twin *ValueInTwinResponse `json:"twin,omitempty"`

	// 访问协议,有如下选项: - userdefine:自定义协议 - modbus:modbus协议 - opc-ua:opc-ua协议
	AccessProtocol *string `json:"access_protocol,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDeviceTwinResponse Response Object

func (ShowDeviceTwinResponse) String

func (o ShowDeviceTwinResponse) String() string

type ShowEdgeGroupCertDetailRequest added in v0.1.14

type ShowEdgeGroupCertDetailRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 边缘节点组ID
	GroupId string `json:"group_id"`

	// 边缘节点组证书ID
	GroupCertId string `json:"group_cert_id"`
}

ShowEdgeGroupCertDetailRequest Request Object

func (ShowEdgeGroupCertDetailRequest) String added in v0.1.14

type ShowEdgeGroupCertDetailResponse added in v0.1.14

type ShowEdgeGroupCertDetailResponse struct {

	// 证书ID
	Id *string `json:"id,omitempty"`

	// 证书名称
	Name *string `json:"name,omitempty"`

	// 证书描述
	Description *string `json:"description,omitempty"`

	// 创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 证书绑定的边缘节点组ID
	GroupId *string `json:"group_id,omitempty"`

	// 证书是否处于删除中
	IsDeleted *bool `json:"is_deleted,omitempty"`

	// 证书所属账号的项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 证书类型,包含: - system:创建节点时会默认创建一套系统证书 - application:应用证书 - device:设备证书
	Type *string `json:"type,omitempty"`

	// 证书序列号
	SerialNum *string `json:"serial_num,omitempty"`

	// 根证书
	Ca *string `json:"ca,omitempty"`

	// 证书
	Certificate *string `json:"certificate,omitempty"`

	// 私钥
	PrivateKey *string `json:"private_key,omitempty"`

	// 将证书文件certificate/ca/private_key打成.tar.gz包后用base64编码的字符串。 使用时请使用base64解码成.tar.gz包。
	Package *string `json:"package,omitempty"`

	// 证书有效期持续时间
	CertRemainingValidTime *int32 `json:"cert_remaining_valid_time,omitempty"`
	HttpStatusCode         int    `json:"-"`
}

ShowEdgeGroupCertDetailResponse Response Object

func (ShowEdgeGroupCertDetailResponse) String added in v0.1.14

type ShowEdgeGroupDetailRequest added in v0.1.14

type ShowEdgeGroupDetailRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 边缘节点组ID
	GroupId string `json:"group_id"`
}

ShowEdgeGroupDetailRequest Request Object

func (ShowEdgeGroupDetailRequest) String added in v0.1.14

type ShowEdgeGroupDetailResponse added in v0.1.14

type ShowEdgeGroupDetailResponse struct {

	// 边缘节点组ID
	Id *string `json:"id,omitempty"`

	// 边缘节点组名称,小写英文字母、数字、中划线,以小写字母或数字开头,最大长度为32个字符,不能为空
	Name *string `json:"name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 边缘节点组所属的项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 边缘节点组所属账号的IAM权限,没有铂金版权限的账号无法使用节点组功能
	IamRole *string `json:"iam_role,omitempty"`

	// 边缘节点组CPU总数,为边缘节点组所绑定的边缘节点的CPU数目之和
	Cpu *int32 `json:"cpu,omitempty"`

	// 边缘节点组内存总数,为边缘节点组所绑定的边缘节点的内存之和
	Memory *int32 `json:"memory,omitempty"`

	// 边缘节点组GPU总数,为边缘节点组所绑定的边缘节点的GPU数目之和
	GpuNum *int32 `json:"gpu_num,omitempty"`

	// 绑定的边缘节点详情
	Nodes *[]EdgeNodeResp `json:"nodes,omitempty"`

	// 绑定的边缘应用详情
	Deployments *[]GroupDeployment `json:"deployments,omitempty"`

	// 属性
	Attributes *[]Attributes `json:"attributes,omitempty"`

	// 标签
	Tags *[]Attributes `json:"tags,omitempty"`

	// 绑定操作成功的节点ID列表
	SuccessNodeAdd *[]string `json:"success_node_add,omitempty"`

	// 解绑操作成功的节点ID列表
	SuccessNodeDel *[]string `json:"success_node_del,omitempty"`

	// 绑定操作失败的节点ID列表
	FailedNodeAdd *[]string `json:"failed_node_add,omitempty"`

	// 解绑操作失败的节点ID列表
	FailedNodeDel  *[]string `json:"failed_node_del,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ShowEdgeGroupDetailResponse Response Object

func (ShowEdgeGroupDetailResponse) String added in v0.1.14

type ShowEdgeNodeDetailRequest

type ShowEdgeNodeDetailRequest struct {

	// 边缘节点ID
	NodeId string `json:"node_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

ShowEdgeNodeDetailRequest Request Object

func (ShowEdgeNodeDetailRequest) String

func (o ShowEdgeNodeDetailRequest) String() string

type ShowEdgeNodeDetailResponse

type ShowEdgeNodeDetailResponse struct {
	Node           *EdgeNodeResp `json:"node,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ShowEdgeNodeDetailResponse Response Object

func (ShowEdgeNodeDetailResponse) String

type ShowEncryptdatasRequest added in v0.1.5

type ShowEncryptdatasRequest struct {

	// 加密数据ID
	EncryptdataId string `json:"encryptdata_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

ShowEncryptdatasRequest Request Object

func (ShowEncryptdatasRequest) String added in v0.1.5

func (o ShowEncryptdatasRequest) String() string

type ShowEncryptdatasResponse added in v0.1.5

type ShowEncryptdatasResponse struct {
	EncryptData    *EncryptData `json:"encrypt_data,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ShowEncryptdatasResponse Response Object

func (ShowEncryptdatasResponse) String added in v0.1.5

func (o ShowEncryptdatasResponse) String() string

type ShowEndPointDetailRequest

type ShowEndPointDetailRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 端点ID
	EndpointId string `json:"endpoint_id"`
}

ShowEndPointDetailRequest Request Object

func (ShowEndPointDetailRequest) String

func (o ShowEndPointDetailRequest) String() string

type ShowEndPointDetailResponse

type ShowEndPointDetailResponse struct {
	Endpoint       *EndpointObjResp `json:"endpoint,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ShowEndPointDetailResponse Response Object

func (ShowEndPointDetailResponse) String

type ShowProductDetailRequest added in v0.1.14

type ShowProductDetailRequest struct {

	// 批量节点注册作业ID
	ProductId string `json:"product_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

ShowProductDetailRequest Request Object

func (ShowProductDetailRequest) String added in v0.1.14

func (o ShowProductDetailRequest) String() string

type ShowProductDetailResponse added in v0.1.14

type ShowProductDetailResponse struct {
	Product        *Product `json:"product,omitempty"`
	HttpStatusCode int      `json:"-"`
}

ShowProductDetailResponse Response Object

func (ShowProductDetailResponse) String added in v0.1.14

func (o ShowProductDetailResponse) String() string

type ShowQuotaRequest added in v0.1.14

type ShowQuotaRequest struct {

	// 查询配额的资源类型,支持填写: - edge_node: 边缘节点 - node_cert: 边缘节点证书 - edge_group: 边缘节点组 - group_cert: 边缘节点组证书 - application: 应用模板 - deployment: 容器应用 - device_template: 终端设备模板 - device: 终端设备 - app_version: 应用模板的版本 - tag: 标签  - configmap: 配置项 - secret: 密钥 - ief_instance: 铂金版实例 - service: 服务网格 - gateway: 服务网关
	Types *string `json:"types,omitempty"`
}

ShowQuotaRequest Request Object

func (ShowQuotaRequest) String added in v0.1.14

func (o ShowQuotaRequest) String() string

type ShowQuotaResponse added in v0.1.14

type ShowQuotaResponse struct {
	Quotas         *QuotaResourceList `json:"quotas,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ShowQuotaResponse Response Object

func (ShowQuotaResponse) String added in v0.1.14

func (o ShowQuotaResponse) String() string

type ShowRuleDetailRequest

type ShowRuleDetailRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 规则ID
	RuleId string `json:"rule_id"`
}

ShowRuleDetailRequest Request Object

func (ShowRuleDetailRequest) String

func (o ShowRuleDetailRequest) String() string

type ShowRuleDetailResponse

type ShowRuleDetailResponse struct {
	Rule           *RuleResponse `json:"rule,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ShowRuleDetailResponse Response Object

func (ShowRuleDetailResponse) String

func (o ShowRuleDetailResponse) String() string

type ShowSecretRequest

type ShowSecretRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 密钥ID
	SecretId string `json:"secret_id"`
}

ShowSecretRequest Request Object

func (ShowSecretRequest) String

func (o ShowSecretRequest) String() string

type ShowSecretResponse

type ShowSecretResponse struct {
	Secret         *SecretDetailResp `json:"secret,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ShowSecretResponse Response Object

func (ShowSecretResponse) String

func (o ShowSecretResponse) String() string

type ShowServiceDetailRequest

type ShowServiceDetailRequest struct {

	// 服务ID
	ServiceId string `json:"service_id"`

	// 铂金版实例ID
	IefInstanceId string `json:"ief-instance-id"`
}

ShowServiceDetailRequest Request Object

func (ShowServiceDetailRequest) String

func (o ShowServiceDetailRequest) String() string

type ShowServiceDetailResponse

type ShowServiceDetailResponse struct {
	Service        *ServiceRespDetail `json:"service,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ShowServiceDetailResponse Response Object

func (ShowServiceDetailResponse) String

func (o ShowServiceDetailResponse) String() string

type ShowSystemEventDetailRequest added in v0.1.14

type ShowSystemEventDetailRequest struct {

	// 系统订阅名称
	EventId string `json:"event_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

ShowSystemEventDetailRequest Request Object

func (ShowSystemEventDetailRequest) String added in v0.1.14

type ShowSystemEventDetailResponse added in v0.1.14

type ShowSystemEventDetailResponse struct {
	Systemevent    *Event `json:"systemevent,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowSystemEventDetailResponse Response Object

func (ShowSystemEventDetailResponse) String added in v0.1.14

type Sorted

type Sorted struct {

	// 按key值对请求内容进行排序
	Key *string `json:"key,omitempty"`

	// 是否采用倒序
	Reverse *bool `json:"reverse,omitempty"`
}

Sorted 按标签过滤资源后返回结果的排序方式

func (Sorted) String

func (o Sorted) String() string

type StartRuleRequest

type StartRuleRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 规则ID
	RuleId string `json:"rule_id"`
}

StartRuleRequest Request Object

func (StartRuleRequest) String

func (o StartRuleRequest) String() string

type StartRuleResponse

type StartRuleResponse struct {
	HttpStatusCode int `json:"-"`
}

StartRuleResponse Response Object

func (StartRuleResponse) String

func (o StartRuleResponse) String() string

type StartSystemEventRequest added in v0.1.14

type StartSystemEventRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 系统订阅ID
	EventId string `json:"event_id"`
}

StartSystemEventRequest Request Object

func (StartSystemEventRequest) String added in v0.1.14

func (o StartSystemEventRequest) String() string

type StartSystemEventResponse added in v0.1.14

type StartSystemEventResponse struct {
	HttpStatusCode int `json:"-"`
}

StartSystemEventResponse Response Object

func (StartSystemEventResponse) String added in v0.1.14

func (o StartSystemEventResponse) String() string

type StateDetails added in v0.1.18

type StateDetails struct {

	// IEC/IES节点注册状态
	RegisterStat *string `json:"register_stat,omitempty"`

	// IEC/IES节点状态
	PurchaseStat *string `json:"purchase_stat,omitempty"`

	// IEC/IES节点错误信息
	PurchaseError *string `json:"purchase_error,omitempty"`
}

StateDetails IEC/IES节点状态详情

func (StateDetails) String added in v0.1.18

func (o StateDetails) String() string

type StopBatchJobRequest added in v0.1.14

type StopBatchJobRequest struct {

	// 批量处理作业ID
	JobId string `json:"job_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

StopBatchJobRequest Request Object

func (StopBatchJobRequest) String added in v0.1.14

func (o StopBatchJobRequest) String() string

type StopBatchJobResponse added in v0.1.14

type StopBatchJobResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

StopBatchJobResponse Response Object

func (StopBatchJobResponse) String added in v0.1.14

func (o StopBatchJobResponse) String() string

type StopRuleRequest

type StopRuleRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 规则ID
	RuleId string `json:"rule_id"`
}

StopRuleRequest Request Object

func (StopRuleRequest) String

func (o StopRuleRequest) String() string

type StopRuleResponse

type StopRuleResponse struct {
	HttpStatusCode int `json:"-"`
}

StopRuleResponse Response Object

func (StopRuleResponse) String

func (o StopRuleResponse) String() string

type StopSystemEventRequest added in v0.1.14

type StopSystemEventRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 系统订阅ID
	EventId string `json:"event_id"`
}

StopSystemEventRequest Request Object

func (StopSystemEventRequest) String added in v0.1.14

func (o StopSystemEventRequest) String() string

type StopSystemEventResponse added in v0.1.14

type StopSystemEventResponse struct {
	HttpStatusCode int `json:"-"`
}

StopSystemEventResponse Response Object

func (StopSystemEventResponse) String added in v0.1.14

func (o StopSystemEventResponse) String() string

type SvcMetadata

type SvcMetadata struct {

	// 自定义标签属性列表
	Labels map[string]string `json:"labels,omitempty"`

	// 服务名称,只允许英文小写字母、数字、中划线,最大长度64,英文小写字母开头,数字或小写字母结尾
	Name string `json:"name"`
}

SvcMetadata 服务详情

func (SvcMetadata) String

func (o SvcMetadata) String() string

type SvcPort

type SvcPort struct {

	// 服务端口必须进行命名,而且名称只允许是{protocol}-{suffix}这种格式,其中{protocol}可以是tcp、http等,IEF根据在端口上定义的协议来提供对应的路由能力。例如“name:http-0”和“name:tcp-0”是合法的端口名,“name:http2forecast”是非法的端口号。
	Name *string `json:"name,omitempty"`

	// 当spec.type=NodePort时,指定映射到物理机的端口号
	NodePort *string `json:"node_port,omitempty"`

	// 服务监听的端口号
	Port *string `json:"port,omitempty"`

	// 具体的协议,比如TCP
	Protocol *string `json:"protocol,omitempty"`

	// 需要转发到后端Pod的端口号
	TargetPort *string `json:"target_port,omitempty"`
}

SvcPort 服务需要暴露的端口列表

func (SvcPort) String

func (o SvcPort) String() string

type SvcSpec

type SvcSpec struct {

	// 虚拟服务IP地址
	ClusterIp *string `json:"cluster_ip,omitempty"`

	// 外部IP列表 --- 暂不支持
	ExternalIps *[]string `json:"external_ips,omitempty"`

	// 外部域名 --- 暂不支持
	ExternalName *string `json:"external_name,omitempty"`

	// 服务需要暴露的端口列表
	Ports *[]SvcPort `json:"ports,omitempty"`

	// 标签选择器,将选择具有指定Label标签的Pod作为管理范围
	Selector map[string]string `json:"selector"`

	// 服务的类型
	Type *string `json:"type,omitempty"`
}

SvcSpec 服务的动态属性

func (SvcSpec) String

func (o SvcSpec) String() string

type Tag

type Tag struct {

	// 标签key值,长度取值范围为1~36, 仅允许大小写英文字母、数字、下划线、中划线
	Key string `json:"key"`

	// 标签value值,长度取值范围为0~43, 仅允许大小写英文字母、数字、下划线、中划线
	Values *[]string `json:"values,omitempty"`
}

Tag 标签属性

func (Tag) String

func (o Tag) String() string

type Tags

type Tags struct {

	// 包含标签,最多包含20个key,每个key下面的value最多10个,每个key对应的value可以为空数组但结构体不能缺失。Key不能重复,同一个key中values不能重复。结果返回包含所有标签的资源列表,key之间是与的关系,key-value结构中value是或的关系。如tags_any和tags字段同时存在,则去重后返回两者并集。无tag过滤条件时返回全量数据。
	Tags *[]Tag `json:"tags,omitempty"`

	// 包含任意标签,最多包含20个key,每个key下面的value最多10个。Key不能重复,同一个key中values不能重复。结果返回包含标签的资源列表,key之间是或的关系,key-value结构中value是或的关系。如tags_any和tags字段同时存在,则去重后返回两者并集。无过滤条件时返回全量数据。
	TagsAny *[]Tag `json:"tags_any,omitempty"`

	// 不包含标签,最多包含20个key,每个key下面的value最多10个。Key不能重复,同一个key中values不能重复。结果返回不包含标签的资源列表,key之间是与的关系,key-value结构中value是或的关系。无过滤条件时返回全量数据。
	NotTags *[]Tag `json:"not_tags,omitempty"`

	// 不包含任意标签,最多包含20个key,每个key下面的value最多10个。Key不能重复,同一个key中values不能重复。结果返回不包含标签的资源列表,key之间是或的关系,key-value结构中value是或的关系。无过滤条件时返回全量数据。
	NotTagsAny *[]Tag `json:"not_tags_any,omitempty"`

	// 查询记录数(action为count时无此参数)如果action为filter默认为1000,limit最多为1000,不能为负数,最小值为1
	Limit *string `json:"limit,omitempty"`

	// 索引位置,偏移量(action为count时无此参数)从第一条数据偏移offset条数据后开始查询,如果action为filter默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数
	Offset *string `json:"offset,omitempty"`

	// 操作标识(仅限于filter,count):filter(过滤),count(查询总条数) 如果是filter就按照过滤条件查询,如果是count,只需要返回总条数,禁止返回其他字段。
	Action string `json:"action"`

	// 搜索字段,key为要匹配的字段,如resource_name等。value为匹配的值。key为固定字典值,不能包含重复的key或不支持的key。 根据key的值确认是否需要模糊匹配,如resource_name默认为模糊搜索(不区分大小写,不支持*,支持字符串匹配),如果value为空字符串则返回空列表(IEF服务不存在资源名称为空的情况,因此这类情况返回空列表)。
	Matches *[]Matches `json:"matches,omitempty"`

	// 确认是否请求源是否为console,通过该字段来判断是否返回resource_detail内容,如果为true则返回,如果为false或者不带该参数则返回空列表。
	Console *bool `json:"console,omitempty"`

	Sorted *Sorted `json:"sorted,omitempty"`
}

func (Tags) String

func (o Tags) String() string

type Target added in v0.1.14

type Target struct {

	// 批量处理对象基本信息
	ExtensionInfo *[]Extension `json:"extension_info,omitempty"`

	// 批量处理对象ID
	TargetId string `json:"target_id"`
}

Target 批量处理对象详情

func (Target) String added in v0.1.14

func (o Target) String() string

type Task added in v0.1.14

type Task struct {

	// 任务项ID
	TaskId *string `json:"task_id,omitempty"`

	// 任务项名称
	TaskName *string `json:"task_name,omitempty"`

	// 任务项状态
	Status *string `json:"status,omitempty"`

	// 任务项失败的原因
	Reason *string `json:"reason,omitempty"`

	// 创建时间戳
	CreatedAt *int32 `json:"created_at,omitempty"`

	// 批量处理对象ID
	TargetId *string `json:"target_id,omitempty"`

	// 批量处理对象基本信息
	ExtensionInfo *[]Extension `json:"extension_info,omitempty"`
}

Task 任务项详情

func (Task) String added in v0.1.14

func (o Task) String() string

type TwinUpdateDetail

type TwinUpdateDetail struct {

	// 终端设备动态属性
	Twin map[string]ValueInTwin `json:"twin,omitempty"`

	// 孪生属性配置,与access_protocol关联。
	PropertyVisitors map[string]ValueInPropertyVisitors `json:"property_visitors,omitempty"`
}

TwinUpdateDetail 更新终端设备孪生参数配置

func (TwinUpdateDetail) String

func (o TwinUpdateDetail) String() string

type UpdataAppVersionBody added in v0.1.2

type UpdataAppVersionBody struct {
	Version *VersionUpdate `json:"version"`
}

UpdataAppVersionBody 更新应用模板版本的请求体

func (UpdataAppVersionBody) String added in v0.1.2

func (o UpdataAppVersionBody) String() string

type UpdateAppBody added in v0.1.2

type UpdateAppBody struct {
	App *AppUpdate `json:"app"`
}

UpdateAppBody 更新应用模板的请求体

func (UpdateAppBody) String added in v0.1.2

func (o UpdateAppBody) String() string

type UpdateAppRequest

type UpdateAppRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 应用模板ID
	AppId string `json:"app_id"`

	Body *UpdateAppBody `json:"body,omitempty"`
}

UpdateAppRequest Request Object

func (UpdateAppRequest) String

func (o UpdateAppRequest) String() string

type UpdateAppResponse

type UpdateAppResponse struct {
	App            *AppResp `json:"app,omitempty"`
	HttpStatusCode int      `json:"-"`
}

UpdateAppResponse Response Object

func (UpdateAppResponse) String

func (o UpdateAppResponse) String() string

type UpdateAppVersionRequest

type UpdateAppVersionRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 应用模板ID
	AppId string `json:"app_id"`

	// 应用模板版本ID
	VersionId string `json:"version_id"`

	Body *UpdataAppVersionBody `json:"body,omitempty"`
}

UpdateAppVersionRequest Request Object

func (UpdateAppVersionRequest) String

func (o UpdateAppVersionRequest) String() string

type UpdateAppVersionResponse

type UpdateAppVersionResponse struct {
	Version        *AppVersionDetail `json:"version,omitempty"`
	HttpStatusCode int               `json:"-"`
}

UpdateAppVersionResponse Response Object

func (UpdateAppVersionResponse) String

func (o UpdateAppVersionResponse) String() string

type UpdateConfigMap

type UpdateConfigMap struct {

	// 配置项描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description *string `json:"description,omitempty"`

	// configs是一个字典,由多个键值对组成,json化后最大总长度为1048576,key和value均为字符串。键值对中key由大小写字母或中划线开头,由数字、大小写字母、点号(.)、中划线(-)、下划线(_)组成,最小长度为1,最大长度63个字符, 键值对中的value无其它限制。 注:configs字典的长度即字典转为标准的字符串后的长度,例如字典{\"a\": \"b\"}转为标准字符串后为'{\"a\": \"b\"}',长度为10
	Configs map[string]string `json:"configs,omitempty"`
}

UpdateConfigMap 配置项

func (UpdateConfigMap) String

func (o UpdateConfigMap) String() string

type UpdateConfigMapRequest

type UpdateConfigMapRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 配置项ID
	ConfigmapId string `json:"configmap_id"`

	Body *UpdateConfigMaps `json:"body,omitempty"`
}

UpdateConfigMapRequest Request Object

func (UpdateConfigMapRequest) String

func (o UpdateConfigMapRequest) String() string

type UpdateConfigMapResponse

type UpdateConfigMapResponse struct {
	Configmap      *ConfigMapResp `json:"configmap,omitempty"`
	HttpStatusCode int            `json:"-"`
}

UpdateConfigMapResponse Response Object

func (UpdateConfigMapResponse) String

func (o UpdateConfigMapResponse) String() string

type UpdateConfigMaps

type UpdateConfigMaps struct {
	Configmap *UpdateConfigMap `json:"configmap"`
}

func (UpdateConfigMaps) String

func (o UpdateConfigMaps) String() string

type UpdateDeployment

type UpdateDeployment struct {
	Deployment *UpdatePodDeployment `json:"deployment,omitempty"`

	// 应用部署描述修改,只修改描述不需要传入deployment参数
	Description *string `json:"description,omitempty"`
}

UpdateDeployment 更新部署请求Body参数

func (UpdateDeployment) String

func (o UpdateDeployment) String() string

type UpdateDeploymentRequest

type UpdateDeploymentRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 应用部署ID
	DeploymentId string `json:"deployment_id"`

	Body *UpdateDeployment `json:"body,omitempty"`
}

UpdateDeploymentRequest Request Object

func (UpdateDeploymentRequest) String

func (o UpdateDeploymentRequest) String() string

type UpdateDeploymentResponse

type UpdateDeploymentResponse struct {

	// 应用部署uuid
	Id *string `json:"id,omitempty"`

	// 应用部署名称,只允许英文小写字母、数字、中划线,最大长度32, 英文小写字母或数字开头和结尾
	Name *string `json:"name,omitempty"`

	// 应用部署总副本数
	Replicas *int32 `json:"replicas,omitempty"`

	// 应用部署正常副本数
	ReadyReplicas *int32 `json:"ready_replicas,omitempty"`

	// 应用部署描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description *string `json:"description,omitempty"`

	// 应用部署到指定节点组,与node_ids二选一
	GroupId *string `json:"group_id,omitempty"`

	// 应用部署到指定节点,当前只支持一个边缘节点
	NodeIds *[]string `json:"node_ids,omitempty"`

	// 节点属性
	Tags *[]Attributes `json:"tags,omitempty"`

	// 应用部署版本
	ApiVersion *string `json:"api_version,omitempty"`

	// 应用部署来源:边缘市场(iem)或自定义(userdefined)
	Source *string `json:"source,omitempty"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 应用部署创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 应用部署更新时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	Template *PodRequest `json:"template,omitempty"`

	// 应用状态,仅包括冻结(FREEZE)、删除中(PENDING_DELETE)、删除失败(DELETE_FAILED),保留字段
	State *string `json:"state,omitempty"`

	// 预留字段
	SourceId       *string `json:"source_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateDeploymentResponse Response Object

func (UpdateDeploymentResponse) String

func (o UpdateDeploymentResponse) String() string

type UpdateDeviceRequest

type UpdateDeviceRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 设备ID
	DeviceId string `json:"device_id"`

	Body *EdgemgrDevicesUpdate `json:"body,omitempty"`
}

UpdateDeviceRequest Request Object

func (UpdateDeviceRequest) String

func (o UpdateDeviceRequest) String() string

type UpdateDeviceResponse

type UpdateDeviceResponse struct {
	Device         *Device `json:"device,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateDeviceResponse Response Object

func (UpdateDeviceResponse) String

func (o UpdateDeviceResponse) String() string

type UpdateDeviceTemplateByIdRequest

type UpdateDeviceTemplateByIdRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 设备模板ID
	DeviceTemplateId string `json:"device_template_id"`

	Body *DeviceTemplateUpdate `json:"body,omitempty"`
}

UpdateDeviceTemplateByIdRequest Request Object

func (UpdateDeviceTemplateByIdRequest) String

type UpdateDeviceTemplateByIdResponse

type UpdateDeviceTemplateByIdResponse struct {
	DeviceTemplate *EdgemgrDevice `json:"device_template,omitempty"`
	HttpStatusCode int            `json:"-"`
}

UpdateDeviceTemplateByIdResponse Response Object

func (UpdateDeviceTemplateByIdResponse) String

type UpdateDeviceTwinRequest

type UpdateDeviceTwinRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 设备ID
	DeviceId string `json:"device_id"`

	Body *TwinUpdateDetail `json:"body,omitempty"`
}

UpdateDeviceTwinRequest Request Object

func (UpdateDeviceTwinRequest) String

func (o UpdateDeviceTwinRequest) String() string

type UpdateDeviceTwinResponse

type UpdateDeviceTwinResponse struct {

	// 孪生属性配置
	PropertyVisitors map[string]ValueInPropertyVisitors `json:"property_visitors,omitempty"`

	// 终端设备动态属性
	Twin           map[string]ValueInTwinResponse `json:"twin,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

UpdateDeviceTwinResponse Response Object

func (UpdateDeviceTwinResponse) String

func (o UpdateDeviceTwinResponse) String() string

type UpdateEdgeGroupNodeBindingRequest added in v0.1.14

type UpdateEdgeGroupNodeBindingRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 边缘节点组ID
	GroupId string `json:"group_id"`

	Body *UpdateGroupNodeBindingRequest `json:"body,omitempty"`
}

UpdateEdgeGroupNodeBindingRequest Request Object

func (UpdateEdgeGroupNodeBindingRequest) String added in v0.1.14

type UpdateEdgeGroupNodeBindingResponse added in v0.1.14

type UpdateEdgeGroupNodeBindingResponse struct {

	// 边缘节点组ID
	Id *string `json:"id,omitempty"`

	// 边缘节点组名称,小写英文字母、数字、中划线,以小写字母或数字开头,最大长度为32个字符,不能为空
	Name *string `json:"name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 边缘节点组所属的项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 边缘节点组所属账号的IAM权限,没有铂金版权限的账号无法使用节点组功能
	IamRole *string `json:"iam_role,omitempty"`

	// 边缘节点组CPU总数,为边缘节点组所绑定的边缘节点的CPU数目之和
	Cpu *int32 `json:"cpu,omitempty"`

	// 边缘节点组内存总数,为边缘节点组所绑定的边缘节点的内存之和
	Memory *int32 `json:"memory,omitempty"`

	// 边缘节点组GPU总数,为边缘节点组所绑定的边缘节点的GPU数目之和
	GpuNum *int32 `json:"gpu_num,omitempty"`

	// 绑定的边缘节点详情
	Nodes *[]EdgeNodeResp `json:"nodes,omitempty"`

	// 绑定的边缘应用详情
	Deployments *[]GroupDeployment `json:"deployments,omitempty"`

	// 属性
	Attributes *[]Attributes `json:"attributes,omitempty"`

	// 标签
	Tags *[]Attributes `json:"tags,omitempty"`

	// 绑定操作成功的节点ID列表
	SuccessNodeAdd *[]string `json:"success_node_add,omitempty"`

	// 解绑操作成功的节点ID列表
	SuccessNodeDel *[]string `json:"success_node_del,omitempty"`

	// 绑定操作失败的节点ID列表
	FailedNodeAdd *[]string `json:"failed_node_add,omitempty"`

	// 解绑操作失败的节点ID列表
	FailedNodeDel  *[]string `json:"failed_node_del,omitempty"`
	HttpStatusCode int       `json:"-"`
}

UpdateEdgeGroupNodeBindingResponse Response Object

func (UpdateEdgeGroupNodeBindingResponse) String added in v0.1.14

type UpdateEdgeGroupRequest added in v0.1.14

type UpdateEdgeGroupRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 边缘节点组ID
	GroupId string `json:"group_id"`

	Body *EdgeGroupUpdateRequest `json:"body,omitempty"`
}

UpdateEdgeGroupRequest Request Object

func (UpdateEdgeGroupRequest) String added in v0.1.14

func (o UpdateEdgeGroupRequest) String() string

type UpdateEdgeGroupResponse added in v0.1.14

type UpdateEdgeGroupResponse struct {

	// 边缘节点组ID
	Id *string `json:"id,omitempty"`

	// 边缘节点组名称,小写英文字母、数字、中划线,以小写字母或数字开头,最大长度为32个字符,不能为空
	Name *string `json:"name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 创建时间
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 边缘节点组所属的项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 边缘节点组所属账号的IAM权限,没有铂金版权限的账号无法使用节点组功能
	IamRole *string `json:"iam_role,omitempty"`

	// 边缘节点组CPU总数,为边缘节点组所绑定的边缘节点的CPU数目之和
	Cpu *int32 `json:"cpu,omitempty"`

	// 边缘节点组内存总数,为边缘节点组所绑定的边缘节点的内存之和
	Memory *int32 `json:"memory,omitempty"`

	// 边缘节点组GPU总数,为边缘节点组所绑定的边缘节点的GPU数目之和
	GpuNum *int32 `json:"gpu_num,omitempty"`

	// 绑定的边缘节点详情
	Nodes *[]EdgeNodeResp `json:"nodes,omitempty"`

	// 绑定的边缘应用详情
	Deployments *[]GroupDeployment `json:"deployments,omitempty"`

	// 属性
	Attributes *[]Attributes `json:"attributes,omitempty"`

	// 标签
	Tags *[]Attributes `json:"tags,omitempty"`

	// 绑定操作成功的节点ID列表
	SuccessNodeAdd *[]string `json:"success_node_add,omitempty"`

	// 解绑操作成功的节点ID列表
	SuccessNodeDel *[]string `json:"success_node_del,omitempty"`

	// 绑定操作失败的节点ID列表
	FailedNodeAdd *[]string `json:"failed_node_add,omitempty"`

	// 解绑操作失败的节点ID列表
	FailedNodeDel  *[]string `json:"failed_node_del,omitempty"`
	HttpStatusCode int       `json:"-"`
}

UpdateEdgeGroupResponse Response Object

func (UpdateEdgeGroupResponse) String added in v0.1.14

func (o UpdateEdgeGroupResponse) String() string

type UpdateEdgeNodeBody added in v0.1.2

type UpdateEdgeNodeBody struct {
	Node *EdgeNodeUpdate `json:"node"`
}

UpdateEdgeNodeBody 更新节点配置

func (UpdateEdgeNodeBody) String added in v0.1.2

func (o UpdateEdgeNodeBody) String() string

type UpdateEdgeNodeDeviceRequest

type UpdateEdgeNodeDeviceRequest struct {

	// 节点ID
	NodeId string `json:"node_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *Devices `json:"body,omitempty"`
}

UpdateEdgeNodeDeviceRequest Request Object

func (UpdateEdgeNodeDeviceRequest) String

type UpdateEdgeNodeDeviceResponse

type UpdateEdgeNodeDeviceResponse struct {

	// 工业终端设备预留字段
	DeleteConnector *bool `json:"delete_connector,omitempty"`

	// 工业终端设备预留字段
	DeployConnector *bool `json:"deploy_connector,omitempty"`

	// 工业终端设备预留字段
	DeploymentId *string `json:"deployment_id,omitempty"`

	UpdateDevices  *NodeDevice `json:"update_devices,omitempty"`
	HttpStatusCode int         `json:"-"`
}

UpdateEdgeNodeDeviceResponse Response Object

func (UpdateEdgeNodeDeviceResponse) String

type UpdateEdgeNodeRequest

type UpdateEdgeNodeRequest struct {

	// 边缘节点ID
	NodeId string `json:"node_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *UpdateEdgeNodeBody `json:"body,omitempty"`
}

UpdateEdgeNodeRequest Request Object

func (UpdateEdgeNodeRequest) String

func (o UpdateEdgeNodeRequest) String() string

type UpdateEdgeNodeResponse

type UpdateEdgeNodeResponse struct {
	Node           *EdgeNodeResp `json:"node,omitempty"`
	HttpStatusCode int           `json:"-"`
}

UpdateEdgeNodeResponse Response Object

func (UpdateEdgeNodeResponse) String

func (o UpdateEdgeNodeResponse) String() string

type UpdateEncryptdatasRequest added in v0.1.5

type UpdateEncryptdatasRequest struct {

	// 加密数据ID
	EncryptdataId string `json:"encryptdata_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	Body *EncryptDataReq `json:"body,omitempty"`
}

UpdateEncryptdatasRequest Request Object

func (UpdateEncryptdatasRequest) String added in v0.1.5

func (o UpdateEncryptdatasRequest) String() string

type UpdateEncryptdatasResponse added in v0.1.5

type UpdateEncryptdatasResponse struct {
	EncryptData    *EncryptData `json:"encrypt_data,omitempty"`
	HttpStatusCode int          `json:"-"`
}

UpdateEncryptdatasResponse Response Object

func (UpdateEncryptdatasResponse) String added in v0.1.5

type UpdateGroupNodeBindingRequest added in v0.1.14

type UpdateGroupNodeBindingRequest struct {

	// 新增绑定的节点ID列表
	AddNodeIds *[]string `json:"add_node_ids,omitempty"`

	// 新增解绑的节点ID列表
	RemoveNodeIds *[]string `json:"remove_node_ids,omitempty"`
}

UpdateGroupNodeBindingRequest 绑定或解绑节点请求体

func (UpdateGroupNodeBindingRequest) String added in v0.1.14

type UpdateNodeByDeviceIdRequest

type UpdateNodeByDeviceIdRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 设备ID
	DeviceId string `json:"device_id"`

	Body *EdgeNodeUpdateByDevice `json:"body,omitempty"`
}

UpdateNodeByDeviceIdRequest Request Object

func (UpdateNodeByDeviceIdRequest) String

type UpdateNodeByDeviceIdResponse

type UpdateNodeByDeviceIdResponse struct {
	UpdateNodes    *NodeUpdateByDevice `json:"update_nodes,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

UpdateNodeByDeviceIdResponse Response Object

func (UpdateNodeByDeviceIdResponse) String

type UpdatePodDeployment

type UpdatePodDeployment struct {

	// 应用部署副本数
	Replicas *int32 `json:"replicas,omitempty"`

	Template *PodRequest `json:"template"`
}

UpdatePodDeployment 应用部署全量替换修改,应用更新时调用

func (UpdatePodDeployment) String

func (o UpdatePodDeployment) String() string

type UpdateSecret

type UpdateSecret struct {
	Secret *UpdateSecretDetail `json:"secret"`
}

UpdateSecret 密钥。

func (UpdateSecret) String

func (o UpdateSecret) String() string

type UpdateSecretDetail

type UpdateSecretDetail struct {

	// 密钥描述,最大长度255,不允许^ ~ # $ % & * < > ( ) [ ] { } ' \" \\
	Description *string `json:"description,omitempty"`

	// secrets是一个字典,由多个键值对组成,json化后最大总长度为1048576,key和value均为字符串。键值对中key由大小写字母或中划线开头,由数字、大小写字母、点号(.)、中划线(-)、下划线(_)组成,最小长度为1,最大长度63个字符, 键值对中的value必须为base64字符。 注:secrets字典的长度即字典转为标准的字符串后的长度,例如字典{\"a\": \"b\"}转为标准字符串后为'{\"a\": \"b\"}',长度为10
	Secrets map[string]string `json:"secrets,omitempty"`
}

UpdateSecretDetail 密钥

func (UpdateSecretDetail) String

func (o UpdateSecretDetail) String() string

type UpdateSecretRequest

type UpdateSecretRequest struct {

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`

	// 密钥ID
	SecretId string `json:"secret_id"`

	Body *UpdateSecret `json:"body,omitempty"`
}

UpdateSecretRequest Request Object

func (UpdateSecretRequest) String

func (o UpdateSecretRequest) String() string

type UpdateSecretResponse

type UpdateSecretResponse struct {
	Secret         *SecretDetailResp `json:"secret,omitempty"`
	HttpStatusCode int               `json:"-"`
}

UpdateSecretResponse Response Object

func (UpdateSecretResponse) String

func (o UpdateSecretResponse) String() string

type UpdateServiceRequest

type UpdateServiceRequest struct {

	// 服务ID
	ServiceId string `json:"service_id"`

	// 铂金版实例ID
	IefInstanceId string `json:"ief-instance-id"`

	Body *Service `json:"body,omitempty"`
}

UpdateServiceRequest Request Object

func (UpdateServiceRequest) String

func (o UpdateServiceRequest) String() string

type UpdateServiceResponse

type UpdateServiceResponse struct {
	Service        *ServiceRespDetail `json:"service,omitempty"`
	HttpStatusCode int                `json:"-"`
}

UpdateServiceResponse Response Object

func (UpdateServiceResponse) String

func (o UpdateServiceResponse) String() string

type UpgradeEdgeNodeRequest added in v0.1.5

type UpgradeEdgeNodeRequest struct {

	// 边缘节点ID
	NodeId string `json:"node_id"`

	// 铂金版实例ID,专业版实例为空值
	IefInstanceId *string `json:"ief-instance-id,omitempty"`
}

UpgradeEdgeNodeRequest Request Object

func (UpgradeEdgeNodeRequest) String added in v0.1.5

func (o UpgradeEdgeNodeRequest) String() string

type UpgradeEdgeNodeResponse added in v0.1.5

type UpgradeEdgeNodeResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpgradeEdgeNodeResponse Response Object

func (UpgradeEdgeNodeResponse) String added in v0.1.5

func (o UpgradeEdgeNodeResponse) String() string

type UpgradeHistory

type UpgradeHistory struct {

	// 节点升级或安装历史版本id
	Id *int32 `json:"id,omitempty"`

	// 节点升级前节点上edgecore版本号,形式如2.1.0,其中每一位都是整数
	FromVersion *string `json:"from_version,omitempty"`

	// 节点升级或安装后节点行edgecore版本号,形式如2.1.0,其中每一位都是整数
	ToVersion *string `json:"to_version,omitempty"`

	// 节点升级或安装的十位时间戳
	UpgradeTime *int32 `json:"upgrade_time,omitempty"`

	// 节点升级或安装状态,包含 - install_success:边缘节点安装成功 - upgrade_success:边缘节点升级成功 - install_failed:边缘节点安装失败 - upgrade_failed:边缘节点升级失败 - upgrade_failed_rollback_success:边缘节点升级失败回滚成功 - upgrade_failed_rollback_failed:边缘节点升级失败回滚失败
	Result *string `json:"result,omitempty"`

	// 节点升级所消耗的时间
	DurTime *int32 `json:"dur_time,omitempty"`
}

UpgradeHistory 节点安装或升级记录

func (UpgradeHistory) String

func (o UpgradeHistory) String() string

type ValueFrom added in v0.0.96

type ValueFrom struct {
	Secret *Secrets `json:"secret,omitempty"`

	Configmap *ConfigsMap `json:"configmap,omitempty"`
}

func (ValueFrom) String added in v0.0.96

func (o ValueFrom) String() string

type ValueInAttributes

type ValueInAttributes struct {

	// value 最大长度512,value允许英文字母、数字、下划线、中划线、点、逗号、冒号、/、@、+、?、^、=、%、&、~、#、!、*
	Value string `json:"value"`

	// 标识属性是否可选,默认为true
	Optional *bool `json:"optional,omitempty"`

	Metadata *Metadata `json:"metadata,omitempty"`
}

ValueInAttributes 静态属性

func (ValueInAttributes) String

func (o ValueInAttributes) String() string

type ValueInPropertyVisitors

type ValueInPropertyVisitors struct {
	RegisterType *ValueInAttributes `json:"register_type,omitempty"`

	AccessMode *ValueInAttributes `json:"access_mode,omitempty"`

	RegisterIndex *ValueInAttributes `json:"register_index,omitempty"`

	RegisterNum *ValueInAttributes `json:"register_num,omitempty"`

	ScaleIndex *ValueInAttributes `json:"scale_index,omitempty"`

	OriginalDatatype *ValueInAttributes `json:"original_datatype,omitempty"`

	ExpectedDatatype *ValueInAttributes `json:"expected_datatype,omitempty"`

	IsRegisterswap *ValueInAttributes `json:"is_registerswap,omitempty"`

	IsSwap *ValueInAttributes `json:"is_swap,omitempty"`

	SampleInterval *ValueInAttributes `json:"sample_interval,omitempty"`

	DataMin *ValueInAttributes `json:"data_min,omitempty"`

	DataMax *ValueInAttributes `json:"data_max,omitempty"`

	NodeId *ValueInAttributes `json:"node_id,omitempty"`

	BrowseName *ValueInAttributes `json:"browse_name,omitempty"`
}

ValueInPropertyVisitors 孪生属性配置,与access_protocol关联。

func (ValueInPropertyVisitors) String

func (o ValueInPropertyVisitors) String() string

type ValueInTwin

type ValueInTwin struct {
	Excepted *Excepted `json:"excepted,omitempty"`

	// 动态属性的实际信息
	Optional *bool `json:"optional,omitempty"`

	Metadata *Metadata `json:"metadata,omitempty"`
}

ValueInTwin 终端设备动态属性

func (ValueInTwin) String

func (o ValueInTwin) String() string

type ValueInTwinResponse

type ValueInTwinResponse struct {
	Excepted *ExceptedActual `json:"excepted,omitempty"`

	Actual *ExceptedActual `json:"actual,omitempty"`

	Metadata *Metadata `json:"metadata,omitempty"`

	// 标识属性是否可选,默认为true,继承模板的属性默认为false
	Optional *bool `json:"optional,omitempty"`
}

ValueInTwinResponse 终端设备静态属性信息

func (ValueInTwinResponse) String

func (o ValueInTwinResponse) String() string

type Version

type Version struct {
	Version *VersionDetail `json:"version"`
}

Version 应用模板版本

func (Version) String

func (o Version) String() string

type VersionDetail

type VersionDetail struct {

	// 应用版本号
	Version string `json:"version"`

	// 镜像存储地址
	ImageUrl string `json:"image_url"`

	// 环境变量
	Envs *[]Env `json:"envs,omitempty"`

	// 卷配置
	Volumes *[]Volumes `json:"volumes,omitempty"`

	Configs *AppConfigs `json:"configs,omitempty"`

	Resources *Resources `json:"resources,omitempty"`

	// 架构
	Arch *string `json:"arch,omitempty"`

	// 启动命令
	Command *[]string `json:"command,omitempty"`

	// 参数
	Args *[]string `json:"args,omitempty"`

	LivenessProbe *ProbeDetail `json:"liveness_probe,omitempty"`

	ReadinessProbe *ProbeDetail `json:"readiness_probe,omitempty"`

	// NPU类型,支持D310类型和D910类型。 - D310表示D310类型。 - D910表示D910类型。 - 不填表示为D310类型。
	NpuType *string `json:"npu_type,omitempty"`
}

VersionDetail 应用模板版本配置

func (VersionDetail) String

func (o VersionDetail) String() string

type VersionUpdate

type VersionUpdate struct {

	// 环境变量
	Envs *[]Env `json:"envs,omitempty"`

	// 卷配置
	Volumes *[]Volumes `json:"volumes,omitempty"`

	Configs *AppConfigs `json:"configs,omitempty"`

	Resources *Resources `json:"resources,omitempty"`

	// 启动命令
	Command *[]string `json:"command,omitempty"`

	// 参数
	Args *[]string `json:"args,omitempty"`

	LivenessProbe *ProbeDetail `json:"liveness_probe,omitempty"`

	ReadinessProbe *ProbeDetail `json:"readiness_probe,omitempty"`

	// NPU类型,支持D310类型和D910类型。 - D310表示D310类型。 - D910表示D910类型。 - 不填表示为D310类型。
	NpuType *string `json:"npu_type,omitempty"`
}

VersionUpdate 应用模板版本配置

func (VersionUpdate) String

func (o VersionUpdate) String() string

type Volumes

type Volumes struct {

	// 卷名称,小写字母或数字,最长63个字符
	Name string `json:"name"`

	// 卷的类型,支持configMap,secret,emptyDir,hostPath
	Type string `json:"type"`

	// 卷来源,type为hostPath时输入路径,要求以/开头,后面可包含中划线,反斜杠,下划线,点号,字母,数字; secret时输入secret名称,configMap时输入configMap名称,emptyDir时输入disk或memory
	Source string `json:"source"`

	// 卷挂载路径,必须是合法的路径
	Destination string `json:"destination"`

	// 读写权限,configMap和secret类型只支持读权限
	ReadOnly *bool `json:"read_only,omitempty"`
}

Volumes 卷配置

func (Volumes) String

func (o Volumes) String() string

type WeightPodAffinityTerms

type WeightPodAffinityTerms struct {
	PodAffinityTerm *WeightPodAffinityTermsPodAffinityTerm `json:"podAffinityTerm,omitempty"`

	// 权重,范围为1-100
	Weight *int32 `json:"weight,omitempty"`
}

WeightPodAffinityTerms 优先使用定义的规则调度,且不会影响已经在节点上运行的Pod。即优先选择调度到满足规则的节点,但也可能会调度到不满足规则的节点。

func (WeightPodAffinityTerms) String

func (o WeightPodAffinityTerms) String() string

type WeightPodAffinityTermsPodAffinityTerm

type WeightPodAffinityTermsPodAffinityTerm struct {
	LabelSelector *LabelSelector `json:"labelSelector,omitempty"`

	// 命名空间
	Namespaces *[]string `json:"namespaces,omitempty"`

	// 拓扑标签。先圈定topologyKey指定的范围,然后再选择labelSelector定义的内容,即亲和调度只会在有topologyKey指定的标签节点上调度。
	TopologyKey *string `json:"topologyKey,omitempty"`
}

WeightPodAffinityTermsPodAffinityTerm Pod亲和规则

func (WeightPodAffinityTermsPodAffinityTerm) String

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL