model

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivateNodeRequestBody

type ActivateNodeRequestBody struct {

	// 订单ID,小型轻型设备激活时使用的订单
	OrderId *string `json:"order_id,omitempty"`

	// 订单ID,大型设备使用CPU时激活的订单
	CpuOrderId *string `json:"cpu_order_id,omitempty"`

	// 订单ID,大型设备使用GPU/NPU时激活的订单
	NpuGpuOrderId *string `json:"npu_gpu_order_id,omitempty"`
}

func (ActivateNodeRequestBody) String

func (o ActivateNodeRequestBody) String() string

type ActivateRecordRecords

type ActivateRecordRecords struct {

	// 更新时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 激活状态
	ActiveStatus *string `json:"active_status,omitempty"`

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

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

func (ActivateRecordRecords) String

func (o ActivateRecordRecords) String() string

type AddDeploymentNodesRequest

type AddDeploymentNodesRequest struct {

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

	// 平台提供者,分别为hilens及ief。当为hilens时,请求部署在hilens平台的相关数据。
	Provider *string `json:"provider,omitempty"`

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

AddDeploymentNodesRequest Request Object

func (AddDeploymentNodesRequest) String

func (o AddDeploymentNodesRequest) String() string

type AddDeploymentNodesResponse

type AddDeploymentNodesResponse struct {
	Template *DeploymentTemplate `json:"template,omitempty"`

	// 部署成功失败的理由
	Reason *string `json:"reason,omitempty"`

	// 已经就绪的实例节点数
	ReadyReplicas *int32 `json:"ready_replicas,omitempty"`

	// 实例节点节点数
	Replicas *int32 `json:"replicas,omitempty"`

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

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

	// 应用部署来源: HiLens市场(hlm) or aigallery(aig) or 自定义(userdefined)
	Source *string `json:"source,omitempty"`

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

	// 应用部署的指定节点,与clouster_id二选一
	NodeIds *[]string `json:"node_ids,omitempty"`

	// 应用部署的集群ID,与node_id二选一
	ClusterId *string `json:"cluster_id,omitempty"`

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

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

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

	// 部署ID
	Id *string `json:"id,omitempty"`

	// RUNNING:运行, FREEZE:冻结, UNFREEZE: 解冻, CREATING:创建中, CREATE_FAILED:创建失败, STARTING:启动中, START_FAILED:启动失败, STOPPING:停止中 STOP_FAILED:停止失败 DELETING:删除中 DELETE_FIALED:删除失败 HIBERNATED:休眠
	State *string `json:"state,omitempty"`

	// 部署的节点数,最小为1,集群部署也为1
	NodeNum *int32 `json:"node_num,omitempty"`

	// 每个节点的部署结果
	Result         *[]NodeResult `json:"result,omitempty"`
	HttpStatusCode int           `json:"-"`
}

AddDeploymentNodesResponse Response Object

func (AddDeploymentNodesResponse) String

type AppDef

type AppDef struct {

	// app应用的订单ID,技能来源是市场时,如果不填,则自动选择默认订单。
	AppOrderId *string `json:"app_order_id,omitempty"`

	// app应用的地址,可以是镜像地址或者OBS地址
	AppUrl string `json:"app_url"`

	// 路数限制,添加作业的时候,摄像头和VCN的最大路数不超过该值,范围是0到1000
	ChannelLimit *int32 `json:"channel_limit,omitempty"`

	// 用户可以指定的路数限制上限,范围是0到1000
	ChannelUpperLimit *int32 `json:"channel_upper_limit,omitempty"`

	// 容器启动参数,字符总长度最大为65536,不允许^#~^$|%&*<>()'\"\\[\\]{}]等特殊字符
	Args *[]string `json:"args,omitempty"`

	// 容器启动命令,字符总长度最大为65536。 command支持使用数组定义多条命令,但在IEF控制台界面只会显示第一条命令。不允许^#~^$|%&*<>()'\"\\[\\]{}]等特殊字符
	Command *[]string `json:"command,omitempty"`

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

	// 是否是modelbox镜像
	IsModelbox *bool `json:"is_modelbox,omitempty"`

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

	// 消息变量
	Msgs *[]Env `json:"msgs,omitempty"`

	// 应用名字,只允许英文小写字母、数字、中划线,最大长度32, 英文小写字母或数字开头和结尾。该名称同时对应技能名称,当不传订单id的时候,默认通过该名称和版本号version字段,选择指定技能版本,进行部署,并选择可用的订单(默认订单优先)扣除份额。
	Name string `json:"name"`

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

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

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

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

	Resources *ResQuest `json:"resources"`

	// 版本号,长度不操作128,支持大小写数字,下划线,点,中划线
	Version *string `json:"version,omitempty"`

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

	StartResources *ResQuest `json:"start_resources,omitempty"`

	ChannelResources *ResQuest `json:"channel_resources,omitempty"`

	// 技能管理ID,技能来源source是skill的时候,需要传入该ID
	SkillProjectId *string `json:"skill_project_id,omitempty"`
}

func (AppDef) String

func (o AppDef) String() string

type BatchCreateNodeTagsRequest

type BatchCreateNodeTagsRequest struct {
	Body *MultiResourcesMultiTags `json:"body,omitempty"`
}

BatchCreateNodeTagsRequest Request Object

func (BatchCreateNodeTagsRequest) String

type BatchCreateNodeTagsResponse

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

BatchCreateNodeTagsResponse Response Object

func (BatchCreateNodeTagsResponse) String

type Config

type Config struct {

	// 配置项key,最大长度36个字符。不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”
	Key string `json:"key"`

	// 配置项value,每个值最大长度43个字符,删除时如果value有值按照key/value删除,如果value没值,则按照key删除。不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”
	Value string `json:"value"`
}

func (Config) String

func (o Config) String() string

type ConfigMap

type ConfigMap struct {

	// 配置列表
	Configs []Config `json:"configs"`

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

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

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

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

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

	// 标签列表
	Tags []Tag `json:"tags"`

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

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

	// 工作空间ID
	WorkspaceId *string `json:"workspace_id,omitempty"`
}

func (ConfigMap) String

func (o ConfigMap) String() string

type ConfigMapId

type ConfigMapId struct {

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

func (ConfigMapId) String

func (o ConfigMapId) String() string

type ConfigMapModelBoxDto

type ConfigMapModelBoxDto struct {
	Configmap *ConfigMap `json:"configmap"`

	// 工作空间ID,默认为注册账号/子账号的default工作空间,可通过专业版HiLens控制台展开工作空间列表获取到工作空间ID
	WorkspaceId *string `json:"workspace_id,omitempty"`
}

func (ConfigMapModelBoxDto) String

func (o ConfigMapModelBoxDto) String() string

type ConfigsMap

type ConfigsMap struct {

	// 配置项的名称,以英文字母或中划线开头,由英文字母、数字、点号、中划线和下划线组成,长度1到63个字符。
	Key string `json:"key"`

	// 配置项的属性名,以英文小写字母开头,由中文字符,英文字母,数字,下划线和中划线组成,不能以中划线结尾,长度4-64位。
	Name string `json:"name"`
}

func (ConfigsMap) String

func (o ConfigsMap) String() string

type CreateConfigMapRequest

type CreateConfigMapRequest struct {

	// 服务名称,hilens或者ief,默认hilens
	Provider *string `json:"provider,omitempty"`

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

CreateConfigMapRequest Request Object

func (CreateConfigMapRequest) String

func (o CreateConfigMapRequest) String() string

type CreateConfigMapResponse

type CreateConfigMapResponse struct {
	Configmap *ConfigMap `json:"configmap,omitempty"`

	// 工作空间ID,默认为注册账号/子账号的default工作空间,可通过专业版HiLens控制台展开工作空间列表获取到工作空间ID
	WorkspaceId    *string `json:"workspace_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateConfigMapResponse Response Object

func (CreateConfigMapResponse) String

func (o CreateConfigMapResponse) String() string

type CreateDeploymentRequest

type CreateDeploymentRequest struct {

	// 平台提供者,分别为hilens及ief。当为hilens时,请求部署在hilens平台的相关数据
	Provider *string `json:"provider,omitempty"`

	// 离线场景超期时间,单位分钟,范围在1-86400
	XExpiredTime *int32 `json:"X-Expired-Time,omitempty"`

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

CreateDeploymentRequest Request Object

func (CreateDeploymentRequest) String

func (o CreateDeploymentRequest) String() string

type CreateDeploymentResponse

type CreateDeploymentResponse struct {
	Template *DeploymentTemplate `json:"template,omitempty"`

	// 部署成功失败的理由
	Reason *string `json:"reason,omitempty"`

	// 已经就绪的实例节点数
	ReadyReplicas *int32 `json:"ready_replicas,omitempty"`

	// 实例节点节点数
	Replicas *int32 `json:"replicas,omitempty"`

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

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

	// 应用部署来源: HiLens市场(hlm) or aigallery(aig) or 自定义(userdefined)
	Source *string `json:"source,omitempty"`

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

	// 应用部署的指定节点,与clouster_id二选一
	NodeIds *[]string `json:"node_ids,omitempty"`

	// 应用部署的集群ID,与node_id二选一
	ClusterId *string `json:"cluster_id,omitempty"`

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

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

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

	// 部署ID
	Id *string `json:"id,omitempty"`

	// RUNNING:运行, FREEZE:冻结, UNFREEZE: 解冻, CREATING:创建中, CREATE_FAILED:创建失败, STARTING:启动中, START_FAILED:启动失败, STOPPING:停止中 STOP_FAILED:停止失败 DELETING:删除中 DELETE_FIALED:删除失败 HIBERNATED:休眠
	State *string `json:"state,omitempty"`

	// 部署的节点数,最小为1,集群部署也为1
	NodeNum *int32 `json:"node_num,omitempty"`

	// 每个节点的部署结果
	Result         *[]NodeResult `json:"result,omitempty"`
	HttpStatusCode int           `json:"-"`
}

CreateDeploymentResponse Response Object

func (CreateDeploymentResponse) String

func (o CreateDeploymentResponse) String() string

type CreateNodeRequest

type CreateNodeRequest struct {

	// 服务提供者:ief或hilens,选择设备纳管到不同的平台。不填默认为hilens平台
	Provider *string `json:"provider,omitempty"`

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

CreateNodeRequest Request Object

func (CreateNodeRequest) String

func (o CreateNodeRequest) String() string

type CreateNodeResponse

type CreateNodeResponse struct {

	// 设备ID
	Id *string `json:"id,omitempty"`

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

	// 将设备配置和证书文件node.conf/certificate/private_key打成.tar.gz包后用base64编码的字符串。node.conf包含节点信息配置
	Package        *string `json:"package,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateNodeResponse Response Object

func (CreateNodeResponse) String

func (o CreateNodeResponse) String() string

type CreateOrderFormRequest

type CreateOrderFormRequest struct {
	Body *CreateSkillOrderFrom `json:"body,omitempty"`
}

CreateOrderFormRequest Request Object

func (CreateOrderFormRequest) String

func (o CreateOrderFormRequest) String() string

type CreateOrderFormResponse

type CreateOrderFormResponse struct {

	// 订单ID
	OrderId        *string `json:"order_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateOrderFormResponse Response Object

func (CreateOrderFormResponse) String

func (o CreateOrderFormResponse) String() string

type CreateResourceTagsRequest

type CreateResourceTagsRequest struct {

	// 资源ID,不同资源(节点,部署,配置项,密钥)有不同的资源ID
	ResourceId string `json:"resource_id"`

	// 资源类型(节点,部署,配置项,密钥)
	ResourceType string `json:"resource_type"`

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

CreateResourceTagsRequest Request Object

func (CreateResourceTagsRequest) String

func (o CreateResourceTagsRequest) String() string

type CreateResourceTagsResponse

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

CreateResourceTagsResponse Response Object

func (CreateResourceTagsResponse) String

type CreateSecretRequest

type CreateSecretRequest struct {

	// 服务提供者:ief或hilens,选择设备纳管到不同的平台。不填默认为hilens平台
	Provider *string `json:"provider,omitempty"`

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

CreateSecretRequest Request Object

func (CreateSecretRequest) String

func (o CreateSecretRequest) String() string

type CreateSecretResponse

type CreateSecretResponse struct {

	// 工作空间ID
	WorkspaceId *string `json:"workspace_id,omitempty"`

	Secret         *CreateUpdateSecretRespSecret `json:"secret,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

CreateSecretResponse Response Object

func (CreateSecretResponse) String

func (o CreateSecretResponse) String() string

type CreateSkillOrderFrom

type CreateSkillOrderFrom struct {

	// 技能ID
	SkillId string `json:"skill_id"`

	// 购买个数
	Amount int32 `json:"amount"`

	// 定制技能标识
	CommissionFlag int32 `json:"commission_flag"`
}

CreateSkillOrderFrom 创建技能订单请求体

func (CreateSkillOrderFrom) String

func (o CreateSkillOrderFrom) String() string

type CreateTaskRequest

type CreateTaskRequest struct {

	// 部署ID,从专业版HiLens控制台部署管理[获取部署列表](getDeploymentListUsingGET.xml)获取
	DeploymentId string `json:"deployment_id"`

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

CreateTaskRequest Request Object

func (CreateTaskRequest) String

func (o CreateTaskRequest) String() string

type CreateTaskResponse

type CreateTaskResponse struct {

	// 作业id
	TaskId         *string `json:"task_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateTaskResponse Response Object

func (CreateTaskResponse) String

func (o CreateTaskResponse) String() string

type CreateUpdateSecretRespSecret

type CreateUpdateSecretRespSecret struct {

	// 密钥ID
	Id *string `json:"id,omitempty"`

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

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

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

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

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

	// 密钥列表
	Secrets *[]Secret `json:"secrets,omitempty"`

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

CreateUpdateSecretRespSecret 密钥

func (CreateUpdateSecretRespSecret) String

type CreateWorkSpaceRequest

type CreateWorkSpaceRequest struct {
	Body *RequestWorkspace `json:"body,omitempty"`
}

CreateWorkSpaceRequest Request Object

func (CreateWorkSpaceRequest) String

func (o CreateWorkSpaceRequest) String() string

type CreateWorkSpaceResponse

type CreateWorkSpaceResponse struct {

	// 工作空间id
	WorkspaceId    *string `json:"workspace_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateWorkSpaceResponse Response Object

func (CreateWorkSpaceResponse) String

func (o CreateWorkSpaceResponse) String() string

type DeleteConfigMapRequest

type DeleteConfigMapRequest struct {

	// 配置项ID,从专业版HiLens控制台配置项管理[获取配置项列表](listConfigMapUsingGET.xml)获取
	ConfigMapId string `json:"config_map_id"`
}

DeleteConfigMapRequest Request Object

func (DeleteConfigMapRequest) String

func (o DeleteConfigMapRequest) String() string

type DeleteConfigMapResponse

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

DeleteConfigMapResponse Response Object

func (DeleteConfigMapResponse) String

func (o DeleteConfigMapResponse) String() string

type DeleteDeploymentRequest

type DeleteDeploymentRequest struct {

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

	// 强制删除,为true时表示前置删除
	ForceDelete *bool `json:"force_delete,omitempty"`

	// 平台提供者,分别为hilens及ief。当为hilens时,请求部署在hilens平台的相关数据
	Provider *string `json:"provider,omitempty"`

	// 离线场景超期时间,单位分钟,范围在1-86400
	XExpiredTime *int32 `json:"X-Expired-Time,omitempty"`
}

DeleteDeploymentRequest Request Object

func (DeleteDeploymentRequest) String

func (o DeleteDeploymentRequest) String() string

type DeleteDeploymentResponse

type DeleteDeploymentResponse struct {

	// 部署Id
	DeploymentId   *string `json:"deployment_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteDeploymentResponse Response Object

func (DeleteDeploymentResponse) String

func (o DeleteDeploymentResponse) String() string

type DeleteNodeRequest

type DeleteNodeRequest struct {

	// 设备ID,从专业版HiLens控制台设备管理[查询设备列表](ListNodeUsingGeT.xml)获取
	NodeId string `json:"node_id"`

	// 是否强制删除,true代表是,false代表否
	ForceDelete *bool `json:"force_delete,omitempty"`
}

DeleteNodeRequest Request Object

func (DeleteNodeRequest) String

func (o DeleteNodeRequest) String() string

type DeleteNodeResponse

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

DeleteNodeResponse Response Object

func (DeleteNodeResponse) String

func (o DeleteNodeResponse) String() string

type DeletePodRequest

type DeletePodRequest struct {

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

	// 是否强制删除,为true的时候为强制删除
	ForceDelete *bool `json:"force_delete,omitempty"`

	// 实例ID
	PodId string `json:"pod_id"`
}

DeletePodRequest Request Object

func (DeletePodRequest) String

func (o DeletePodRequest) String() string

type DeletePodResponse

type DeletePodResponse struct {

	// pod的ID
	PodId          *string `json:"pod_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeletePodResponse Response Object

func (DeletePodResponse) String

func (o DeletePodResponse) String() string

type DeleteResourceTagRequest

type DeleteResourceTagRequest struct {

	// 资源ID,不同资源(节点,部署,配置项,密钥)有不同的资源ID
	ResourceId string `json:"resource_id"`

	// 资源类型(节点,部署,配置项,密钥)
	ResourceType string `json:"resource_type"`

	// 标签键,最大长度36个字符。不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”
	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 DeleteSecretRequest

type DeleteSecretRequest struct {

	// 密钥ID,从专业版HiLens控制台密钥管理[获密钥列表](getSecretsListUsingGET.xml)获取
	SecretId string `json:"secret_id"`
}

DeleteSecretRequest Request Object

func (DeleteSecretRequest) String

func (o DeleteSecretRequest) String() string

type DeleteSecretResponse

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

DeleteSecretResponse Response Object

func (DeleteSecretResponse) String

func (o DeleteSecretResponse) String() string

type DeleteTaskRequest

type DeleteTaskRequest struct {

	// 部署ID,从专业版HiLens控制台部署管理[获取部署列表](getDeploymentListUsingGET.xml)获取
	DeploymentId string `json:"deployment_id"`

	// 作业ID,从专业版HiLens控制台作业管理[获取作业列表](listTasksUsingGET.xml)获取
	TaskId string `json:"task_id"`
}

DeleteTaskRequest Request Object

func (DeleteTaskRequest) String

func (o DeleteTaskRequest) String() string

type DeleteTaskResponse

type DeleteTaskResponse struct {

	// 作业id
	TaskId         *string `json:"task_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteTaskResponse Response Object

func (DeleteTaskResponse) String

func (o DeleteTaskResponse) String() string

type DeleteWorkSpaceRequest

type DeleteWorkSpaceRequest struct {

	// 工作空间ID
	WorkspaceId string `json:"workspace_id"`
}

DeleteWorkSpaceRequest Request Object

func (DeleteWorkSpaceRequest) String

func (o DeleteWorkSpaceRequest) String() string

type DeleteWorkSpaceResponse

type DeleteWorkSpaceResponse struct {

	// 工作空间id
	WorkspaceId    *string `json:"workspace_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteWorkSpaceResponse Response Object

func (DeleteWorkSpaceResponse) String

func (o DeleteWorkSpaceResponse) String() string

type Deployment

type Deployment struct {
	Template *DeploymentTemplate `json:"template"`

	// 部署成功失败的理由
	Reason *string `json:"reason,omitempty"`

	// 已经就绪的实例节点数
	ReadyReplicas int32 `json:"ready_replicas"`

	// 实例节点节点数
	Replicas int32 `json:"replicas"`

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

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

	// 应用部署来源: HiLens市场(hlm) or aigallery(aig) or 自定义(userdefined)
	Source string `json:"source"`

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

	// 应用部署的指定节点,与clouster_id二选一
	NodeIds *[]string `json:"node_ids,omitempty"`

	// 应用部署的集群ID,与node_id二选一
	ClusterId *string `json:"cluster_id,omitempty"`

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

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

	// 部署名称
	Name string `json:"name"`

	// 部署ID
	Id string `json:"id"`

	// RUNNING:运行, FREEZE:冻结, UNFREEZE: 解冻, CREATING:创建中, CREATE_FAILED:创建失败, STARTING:启动中, START_FAILED:启动失败, STOPPING:停止中 STOP_FAILED:停止失败 DELETING:删除中 DELETE_FIALED:删除失败 HIBERNATED:休眠
	State string `json:"state"`

	// 部署的节点数,最小为1,集群部署也为1
	NodeNum int32 `json:"node_num"`

	// 每个节点的部署结果
	Result *[]NodeResult `json:"result,omitempty"`
}

func (Deployment) String

func (o Deployment) String() string

type DeploymentAddNodesRequest

type DeploymentAddNodesRequest struct {

	// 应用部署到指定节点
	NodeIds *[]string `json:"node_ids,omitempty"`

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

	// 添加节点的标签
	NodeTags *[]DeploymentTag `json:"node_tags,omitempty"`

	// 添加的节点数量
	NodeNum int32 `json:"node_num"`
}

func (DeploymentAddNodesRequest) String

func (o DeploymentAddNodesRequest) String() string

type DeploymentCreateRequest

type DeploymentCreateRequest struct {

	// 应用部署到指定集群,与node_ids二选一
	ClusterId *string `json:"cluster_id,omitempty"`

	Deployment *DeploymentRequest `json:"deployment"`

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

	// 本次部署所使用的license额度,配合订单中的计费量纲的实际计费类型,如:视频路数/实例数/QPS。
	LicenseQuota *int32 `json:"license_quota,omitempty"`

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

	// 应用部署到指定节点,与cluster_id二选一
	NodeIds *[]string `json:"node_ids,omitempty"`

	// 应用部署来源: HiLens市场(hlm) or aigallery(aig) or 自定义(userdefined)
	Source string `json:"source"`

	// 购买应用管理服务的订单ID。
	SvcOrderId *string `json:"svc_order_id,omitempty"`

	// 部署标签
	Tags *[]DeploymentTag `json:"tags,omitempty"`

	// 部署节点标签列表,当通过节点标签进行部署的时候,需要下发该字段。
	NodeTags *[]TagRequest `json:"node_tags,omitempty"`

	// 标签部署的设备数量
	NodeNum *int32 `json:"node_num,omitempty"`
}

func (DeploymentCreateRequest) String

func (o DeploymentCreateRequest) String() string

type DeploymentPatchRequest

type DeploymentPatchRequest struct {

	// 技能版本,可选,当下发的技能版本和当前部署的版本不一致的时候,根据技能模板参数更新部署
	Version *string `json:"version,omitempty"`

	Patch *Patch `json:"patch,omitempty"`
}

DeploymentPatchRequest 更新应用部署部分参数

func (DeploymentPatchRequest) String

func (o DeploymentPatchRequest) String() string

type DeploymentRequest

type DeploymentRequest struct {

	// 应用部署副本数,小于100。
	Replicas int32 `json:"replicas"`

	Template *PodRequest `json:"template"`
}

func (DeploymentRequest) String

func (o DeploymentRequest) String() string

type DeploymentSecrets

type DeploymentSecrets struct {

	// 密钥的名称,以英文小写字母开头,由中文字符,英文字母,数字,下划线和中划线组成,不能以中划线结尾,长度4-64位
	Name *string `json:"name,omitempty"`

	// 密钥的属性名,以英文字母和中划线开头,由英文字母、数字、点号、中划线和下划线组成,长度1-63位
	Key *string `json:"key,omitempty"`
}

func (DeploymentSecrets) String

func (o DeploymentSecrets) String() string

type DeploymentTag

type DeploymentTag struct {

	// 部署标签的key值,长度取值范围为1~36,由英文字母,数字,中划线和下划线组成,长度1到36个字符
	Key string `json:"key"`

	// 部署标签的value值,长度取值范围为1~43,由英文字母,数字,下划线,点号和中划线组成,长度0到43个字符
	Value string `json:"value"`
}

func (DeploymentTag) String

func (o DeploymentTag) String() string

type DeploymentTemplate

type DeploymentTemplate struct {
	Configs *PodConfig `json:"configs,omitempty"`

	// 部署应用列表
	Apps *[]AppDef `json:"apps,omitempty"`
}

DeploymentTemplate 部署模板信息

func (DeploymentTemplate) String

func (o DeploymentTemplate) String() string

type DeploymentUpdateRequest

type DeploymentUpdateRequest struct {
	Deployment *DeploymentRequest `json:"deployment,omitempty"`

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

	// 部署标签
	Tags *[]DeploymentTag `json:"tags,omitempty"`
}

func (DeploymentUpdateRequest) String

func (o DeploymentUpdateRequest) 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地址作为环境变量。value、value_from和field_path必须三选一使用
	FieldPath *string `json:"field_path,omitempty"`
}

func (Env) String

func (o Env) String() string

type Exec

type Exec struct {

	// 探针执行命令,最大长度10240个字符。不允许^#~^$|%&*<>()'\"[]{}这些特殊字符
	Command string `json:"command"`
}

func (Exec) String

func (o Exec) String() string

type FirmwareUpdateRecord

type FirmwareUpdateRecord struct {

	// 固件名称
	FirmwareName *string `json:"firmware_name,omitempty"`

	// 固件版本
	FirmwareVersion *string `json:"firmware_version,omitempty"`

	// 固件大小
	FirmwareSize *int32 `json:"firmware_size,omitempty"`

	// 固件升级时间
	FirmwareUpgradeTime *string `json:"firmware_upgrade_time,omitempty"`

	// 固件升级状态
	Status *int32 `json:"status,omitempty"`
}

func (FirmwareUpdateRecord) String

func (o FirmwareUpdateRecord) String() string

type FreezeNodeRequest

type FreezeNodeRequest struct {

	// 设备ID,从专业版HiLens控制台设备管理[查询设备列表](ListNodeUsingGeT.xml)获取
	NodeId string `json:"node_id"`
}

FreezeNodeRequest Request Object

func (FreezeNodeRequest) String

func (o FreezeNodeRequest) String() string

type FreezeNodeResponse

type FreezeNodeResponse struct {

	// 设备ID
	NodeId         *string `json:"node_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

FreezeNodeResponse Response Object

func (FreezeNodeResponse) String

func (o FreezeNodeResponse) String() string

type HostContainerPortMapping

type HostContainerPortMapping struct {

	// 容器端口,1到65535之间的整数
	ContainerPort int64 `json:"container_port"`

	// 对应主机网卡地址,形如192.168.0.1
	HostIp *string `json:"host_ip,omitempty"`

	// 主机端口,1到65535之间的整数,与主机端口范围二选一
	HostPort *int64 `json:"host_port,omitempty"`

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

func (HostContainerPortMapping) String

func (o HostContainerPortMapping) String() string

type HostPortRange

type HostPortRange struct {

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

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

func (HostPortRange) String

func (o HostPortRange) String() string

type HttpGet

type HttpGet struct {

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

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

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

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

func (HttpGet) String

func (o HttpGet) String() string

type ListConfigMapsRequest

type ListConfigMapsRequest struct {

	// 服务提供者:ief或hilens,默认为hilens。
	Provider *string `json:"provider,omitempty"`

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

	// 工作空间ID,默认为注册账号/子账号的default工作空间,可通过专业版HiLens控制台展开工作空间列表获取到工作空间ID
	WorkspaceId *string `json:"workspace_id,omitempty"`

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

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

	// 排序方式,可根据名称、创建时间、更新时间排序枚举值:name,created_at,updated_at。sort默认升序,如sort=name,降序:sort=name%3Adesc。不填默认为sort=created_at%3Adesc。
	Sort *string `json:"sort,omitempty"`

	// 格式为{tag_key}={tag_value},支持多对tag或查询。
	TagKey *string `json:"tag_key,omitempty"`
}

ListConfigMapsRequest Request Object

func (ListConfigMapsRequest) String

func (o ListConfigMapsRequest) String() string

type ListConfigMapsResponse

type ListConfigMapsResponse struct {

	// 配置项数量
	Count *int32 `json:"count,omitempty"`

	// 配置项详情
	Configmaps     *[]ConfigMap `json:"configmaps,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ListConfigMapsResponse Response Object

func (ListConfigMapsResponse) String

func (o ListConfigMapsResponse) String() string

type ListFirmwaresRequest

type ListFirmwaresRequest struct {

	// 固件适用设备类型
	DeviceType string `json:"device_type"`

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

	// 边缘设备操作系统名称
	OsName *string `json:"os_name,omitempty"`

	// 边缘设备操作系统版本
	OsVersion *string `json:"os_version,omitempty"`

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

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

ListFirmwaresRequest Request Object

func (ListFirmwaresRequest) String

func (o ListFirmwaresRequest) String() string

type ListFirmwaresResponse

type ListFirmwaresResponse struct {

	// 固件数
	Count *int32 `json:"count,omitempty"`

	// 固件列表
	Firmwares      *[]ListFirmwaresResponseData `json:"firmwares,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

ListFirmwaresResponse Response Object

func (ListFirmwaresResponse) String

func (o ListFirmwaresResponse) String() string

type ListFirmwaresResponseData

type ListFirmwaresResponseData struct {

	// 固件id
	Id string `json:"id"`

	// 固件名称
	Name string `json:"name"`

	// 固件描述
	Description string `json:"description"`

	// 固件版本
	Version string `json:"version"`

	// 固件版本类型
	VersionType string `json:"version_type"`

	// 固件到期时间
	ExpireTime string `json:"expire_time"`

	// 固件白名单
	FirmwareWhitelist []string `json:"firmware_whitelist"`

	// 固件类型
	Type string `json:"type"`

	// 产品系列
	Series string `json:"series"`

	// 固件适用设备类型
	DeviceType string `json:"device_type"`

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

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

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

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

	// 当前固件大小(单位:byte)
	Size int64 `json:"size"`

	// 创建时间毫秒数
	CreateTime int64 `json:"create_time"`

	// 更新时间毫秒数
	UpdateTime int64 `json:"update_time"`
}

ListFirmwaresResponseData 固件详情

func (ListFirmwaresResponseData) String

func (o ListFirmwaresResponseData) String() string

type ListPlatformManagerRequest

type ListPlatformManagerRequest struct {

	// 订单Id,可以根据订单Id查询
	Id *string `json:"id,omitempty"`

	// 设备类别:lite_device轻量型设备,small_device小型设备,large_device大型设备,large_device_cpu CPU大型设备, large_device_gpu_npu CPU,NPU大型设备
	DeviceType *string `json:"device_type,omitempty"`

	// 运行服务费类别,专业版为running_service,标准版为development_service
	Type *string `json:"type,omitempty"`

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

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

ListPlatformManagerRequest Request Object

func (ListPlatformManagerRequest) String

type ListPlatformManagerResponse

type ListPlatformManagerResponse struct {

	// 订单总数
	Total *int32 `json:"total,omitempty"`

	// 订单列表
	Data           *[]OrderForm `json:"data,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ListPlatformManagerResponse Response Object

func (ListPlatformManagerResponse) String

type ListResourceTagsRequest

type ListResourceTagsRequest struct {

	// 资源类型
	ResourceType string `json:"resource_type"`
}

ListResourceTagsRequest Request Object

func (ListResourceTagsRequest) String

func (o ListResourceTagsRequest) String() string

type ListResourceTagsResponse

type ListResourceTagsResponse struct {

	// 资源标签对列表
	Tags           *[]ResourceTagObject `json:"tags,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

ListResourceTagsResponse Response Object

func (ListResourceTagsResponse) String

func (o ListResourceTagsResponse) String() string

type ListSecretsRequest

type ListSecretsRequest struct {

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

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

	// 设备名称,模糊匹配,只允许中文字符、英文字母、数字、下划线、中划线,最大长度64
	Name *string `json:"name,omitempty"`

	// 工作空间ID,默认为注册账号子账号的default工作空间,可通过专业版HiLens控制台展开工作空间列表获取到工作空间ID
	WorkspaceId *string `json:"workspace_id,omitempty"`

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

	// 服务提供者:ief或hilens。不传会查询全部服务类型的设备列表
	Provider *string `json:"provider,omitempty"`

	// 排序方式,可根据名称、创建时间、更新时间排序枚举值:name,created_at,updated_at。sort默认升序,如sort=name,降序:sort=name%3Adesc。不填默认为sort=created_at%3Adesc。
	Sort *string `json:"sort,omitempty"`
}

ListSecretsRequest Request Object

func (ListSecretsRequest) String

func (o ListSecretsRequest) String() string

type ListSecretsResponse

type ListSecretsResponse struct {

	// 数量
	Count *int32 `json:"count,omitempty"`

	// 缪瑶详情列表
	Secrets        *[]SecretDetail `json:"secrets,omitempty"`
	HttpStatusCode int             `json:"-"`
}

ListSecretsResponse Response Object

func (ListSecretsResponse) String

func (o ListSecretsResponse) String() string

type ListTasksRequest

type ListTasksRequest struct {

	// 部署ID,从专业版HiLens控制台部署管理[获取部署列表](getDeploymentListUsingGET.xml)获取
	DeploymentId string `json:"deployment_id"`

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

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

ListTasksRequest Request Object

func (ListTasksRequest) String

func (o ListTasksRequest) String() string

type ListTasksResponse

type ListTasksResponse struct {

	// 作业数量
	Count *int32 `json:"count,omitempty"`

	// 作业详情
	Tasks          *[]TaskInfo `json:"tasks,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListTasksResponse Response Object

func (ListTasksResponse) String

func (o ListTasksResponse) String() string

type ListWorkSpacesRequest

type ListWorkSpacesRequest struct {

	// 用户的userId,用于查询指定的的子工作空间
	IamUserId *string `json:"iam_user_id,omitempty"`

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

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

ListWorkSpacesRequest Request Object

func (ListWorkSpacesRequest) String

func (o ListWorkSpacesRequest) String() string

type ListWorkSpacesResponse

type ListWorkSpacesResponse struct {

	// 返回总条目数
	Count *int32 `json:"count,omitempty"`

	// 工作空间列表
	Workspaces     *[]WorkspaceListElem `json:"workspaces,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

ListWorkSpacesResponse Response Object

func (ListWorkSpacesResponse) String

func (o ListWorkSpacesResponse) String() string

type LogConfig

type LogConfig struct {

	// app:应用日志。 system:系统的日志
	Component string `json:"component"`

	// 系统级日志可配置为/error/warning/info/debug ; 不传会默认为info。
	Level *string `json:"level,omitempty"`

	// 日志rotate个数,默认5,hilens取值范围1-30,ief取值范围1-10
	RotateNum *int32 `json:"rotate_num,omitempty"`

	// 日志rotate周期,可选项,只支持ief:daily monthly weekly yearly.
	RotatePeriod *string `json:"rotate_period,omitempty"`

	// 应用日志文件大小限制,单位MB,默认50,取值范围10-1000。
	Size *int32 `json:"size,omitempty"`

	// - LTS 将日志发送到云日志服务(Log Tank Service,简称LTS) - local 本地日志
	Type string `json:"type"`
}

LogConfig 日志配置列表

func (LogConfig) String

func (o LogConfig) 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"`
}

func (MatchExpression) String

func (o MatchExpression) String() string

type MultiResourcesMultiTags

type MultiResourcesMultiTags struct {

	// 资源列表
	Resources *[]NodeResource `json:"resources,omitempty"`

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

func (MultiResourcesMultiTags) String

func (o MultiResourcesMultiTags) String() string

type NodeDetailResponseTags

type NodeDetailResponseTags struct {

	// 标签键,最大长度36个字符。不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”
	Key *string `json:"key,omitempty"`

	// 标签值,每个值最大长度43个字符,删除时如果value有值按照key/value删除,如果value没值,则按照key删除。不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”
	Value *string `json:"value,omitempty"`
}

NodeDetailResponseTags 设备标签对列表

func (NodeDetailResponseTags) String

func (o NodeDetailResponseTags) String() string

type NodeReqDetail

type NodeReqDetail struct {

	// 批量注册数量。默认为单设备注册,即batch=1,如果大于1即为批量注册的最大数量。最大上限数量为100000
	Batch *int32 `json:"batch,omitempty"`

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

	// 是否开启GPU,true表示开启,false表示不开启,默认为false
	EnableGpu *bool `json:"enable_gpu,omitempty"`

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

	// 子账号ID。当主账号注册设备时,可以指定将设备注册到指定的子账号下面。不填默认为该发起注册行为用户的user_id
	IamUserId *string `json:"iam_user_id,omitempty"`

	// 设备日志配置
	LogConfigs *[]LogConfig `json:"log_configs,omitempty"`

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

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

	// 设备标签,标签个数最多为20个
	Tags *[]TagObject `json:"tags,omitempty"`

	// 工作空间ID,不填为为主账号/子账号的默认工作空间
	WorkspaceId *string `json:"workspace_id,omitempty"`

	// 事件有效时间(单位:分钟)
	EventValidityPeriod *int32 `json:"event_validity_period,omitempty"`
}

NodeReqDetail 设备详细信息

func (NodeReqDetail) String

func (o NodeReqDetail) String() string

type NodeRequest

type NodeRequest struct {
	Node *NodeReqDetail `json:"node"`
}

func (NodeRequest) String

func (o NodeRequest) String() string

type NodeResource

type NodeResource struct {

	// 资源ID
	ResourceId *string `json:"resource_id,omitempty"`

	// 资源类型
	ResourceType *string `json:"resource_type,omitempty"`
}

func (NodeResource) String

func (o NodeResource) String() string

type NodeResponse

type NodeResponse struct {

	// 设备ID
	Id *string `json:"id,omitempty"`

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

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

	// 产生时间,如2021-10-15 14:45:22 GMT+08:00
	CreatedAt *string `json:"created_at,omitempty"`

	// 当该设备处于集群时,显示设备所属的集群ID
	ClusterId *string `json:"cluster_id,omitempty"`

	// 设备所处集群状态,集群创建(cluster_create)、集群删除(cluster_delete)、添加集群工作节点设备(cluster_add_nodes)、删除集群工作节点设备(cluster_delete_node)、集群节点设备状态更新(cluster_node_state_update)
	ClusterNodeState *string `json:"cluster_node_state,omitempty"`

	// 当该设备处于集群时,显示所属的集群设备类型。 - cluster_controller 控制设备 - cluster_worker 工作设备
	ClusterNodeType *string `json:"cluster_node_type,omitempty"`

	// 固件名称。可包含大小写字母、数字、下划线、中划线,长度不超过60字符。必须以字母开头,字母或数字结尾
	FirmwareName *string `json:"firmware_name,omitempty"`

	// 固件正在升级的版本
	UpgradeFirmwareVersion *string `json:"upgrade_firmware_version,omitempty"`

	// 固件升级状态,1、2、3分别代表升级中,升级失败,升级成功
	FirmwareStatus *int32 `json:"firmware_status,omitempty"`

	FirmwareUpgradeRecord *[]FirmwareUpdateRecord `json:"firmware_upgrade_record,omitempty"`

	// 设备状态:UNCONNECTED(未注册)、RUNNING(运行中)、FAIL(故障)、STOPPED(停用)、UPGRADING(升级中)、FREEZE(冻结)
	State *string `json:"state,omitempty"`

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

	// 设备激活状态,未激活(INACTIVE)和已激活(ACTIVATED)
	ActiveStatus *string `json:"active_status,omitempty"`

	// 设备CPU个数
	Cpu *int32 `json:"cpu,omitempty"`

	// 设备GPU个数
	GpuNum *int32 `json:"gpu_num,omitempty"`

	// 设备NPU个数
	NpuNum *int32 `json:"npu_num,omitempty"`

	// 主机IP列表
	HostIps *[]string `json:"host_ips,omitempty"`

	// 节点中部署的数量
	DeploymentNum *int32 `json:"deployment_num,omitempty"`
}

NodeResponse 设备详情

func (NodeResponse) String

func (o NodeResponse) String() string

type NodeResult

type NodeResult struct {

	// 部署的节点ID
	NodeId string `json:"node_id"`

	// 部署到该节点失败时,返回的错误信息
	ErrorMessage *string `json:"error_message,omitempty"`

	// 部署到该节点失败时,返回的错误码
	ErrorCode *string `json:"error_code,omitempty"`
}

NodeResult 部署节点的返回结果

func (NodeResult) String

func (o NodeResult) String() string

type NodeTag

type NodeTag struct {

	// 标签键,最大长度36个字符。不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”
	Key *string `json:"key,omitempty"`

	// 标签值,每个值最大长度43个字符,删除时如果value有值按照key/value删除,如果value没值,则按照key删除。不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”
	Value *string `json:"value,omitempty"`
}

func (NodeTag) String

func (o NodeTag) String() string

type OrderForm

type OrderForm struct {

	// 订单数量
	Amount int32 `json:"amount"`

	// 订到已使用数量
	UsedAmount int32 `json:"used_amount"`

	// cbc订单Id
	CbcOrderId string `json:"cbc_order_id"`

	// 设备类别
	DeviceType string `json:"device_type"`

	// 订单Id
	Id string `json:"id"`

	// 订单更新时间
	OrderUpdateTime string `json:"order_update_time"`

	// 订单状态
	Status int32 `json:"status"`
}

func (OrderForm) String

func (o OrderForm) String() string

type Patch

type Patch struct {

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

Patch 增量更新的部署参数

func (Patch) String

func (o Patch) String() string

type Pod

type Pod struct {
	Configs *PodConfig `json:"configs,omitempty"`

	// 部署失败的原因
	Reason *string `json:"reason,omitempty"`

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

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

	// 集群ID
	ClusterId *string `json:"cluster_id,omitempty"`

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

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

	// 实例名字
	Name *string `json:"name,omitempty"`

	// 实例ID
	Id *string `json:"id,omitempty"`

	// 部署ID
	DeploymentId *string `json:"deployment_id,omitempty"`

	Affinity *PodAffinity `json:"affinity,omitempty"`

	// 应用部署信息
	Apps *[]AppDef `json:"apps,omitempty"`

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

	// 状态,状态包括,Pending,表示挂起,Running表示pod已经被调到到某节点,Succeeded表示Pod已经被成功终止,Failed表示左右容器都已终止,Unkonwn表示无法取得Pod状态
	Status *string `json:"status,omitempty"`
}

func (Pod) String

func (o Pod) String() string

type PodAffinity

type PodAffinity struct {

	// 节点亲和规则
	NodeAffinity *[]MatchExpression `json:"node_affinity,omitempty"`

	// Pod亲和规则
	PodAffinity *[]MatchExpression `json:"pod_affinity,omitempty"`
}

func (PodAffinity) String

func (o PodAffinity) String() string

type PodConfig

type PodConfig struct {

	// 应用实例是否启用主机网络,不启用则使用端口映射,默认值false
	HostNetwork bool `json:"host_network"`

	// 应用实例是否与主机共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"`
}

func (PodConfig) String

func (o PodConfig) String() string

type PodRequest

type PodRequest struct {
	Affinity *PodAffinity `json:"affinity,omitempty"`

	// 应用部署业务容器或RPM程序包
	Apps []AppDef `json:"apps"`

	Configs *PodConfig `json:"configs"`

	// 应用部署初始化业务容器,容器部署有效。预留,暂不支持
	InitContainers *[]AppDef `json:"init_containers,omitempty"`
}

func (PodRequest) String

func (o PodRequest) String() string

type Probe

type Probe struct {
	Exec *Exec `json:"exec,omitempty"`

	HttpGet *HttpGet `json:"http_get,omitempty"`

	// 表示从工作负载启动后从多久开始探测,大于0且不大于3600的整数,默认为10
	InitialDelaySeconds *int64 `json:"initial_delay_seconds,omitempty"`

	// 表示探测超时时间,大于0且不大于3600的整数,默认为1
	TimeoutSeconds *int64 `json:"timeout_seconds,omitempty"`
}

func (Probe) String

func (o Probe) String() string

type RequestWorkspace

type RequestWorkspace struct {

	// 工作空间名
	Name string `json:"name"`

	// 企业项目id,默认为0
	EnterpriseProjectId string `json:"enterprise_project_id"`

	// 企业项目名,默认为default
	EnterpriseProjectName string `json:"enterprise_project_name"`

	// 工作空间描述
	Description *string `json:"description,omitempty"`
}

func (RequestWorkspace) String

func (o RequestWorkspace) String() string

type Res

type Res struct {

	// cpu数量,字符串所对应的数值在0.01到1000之间
	Cpu *string `json:"cpu,omitempty"`

	// gpu数量,值在0到1000
	Gpu *string `json:"gpu,omitempty"`

	// 内存数量,如果是资源限制,其值范围在4到1024000之间,否则在0.01到1024000之间
	Memory *string `json:"memory,omitempty"`

	// npu数量,字符串所对应的数值在0.到1000之间
	Npu *string `json:"npu,omitempty"`
}

func (Res) String

func (o Res) String() string

type ResQuest

type ResQuest struct {
	Limits *Res `json:"limits,omitempty"`

	Requests *Res `json:"requests,omitempty"`
}

func (ResQuest) String

func (o ResQuest) String() string

type ResourceTagObject

type ResourceTagObject struct {

	// 资源ID,不同资源(节点,部署,配置项,密钥)有不同的资源ID
	ResourceId *string `json:"resource_id,omitempty"`

	// 标签键,最大长度36个字符。不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”
	Key *string `json:"key,omitempty"`

	// 标签值,每个值最大长度43个字符,删除时如果value有值按照key/value删除,如果value没值,则按照key删除。不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”
	Value *string `json:"value,omitempty"`
}

func (ResourceTagObject) String

func (o ResourceTagObject) String() string

type Secret

type Secret struct {

	// 密钥key,最大长度63个字符。不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”
	Key string `json:"key"`

	// 密钥value,每个值最大长度10000个字符,删除时如果value有值按照key/value删除,如果value没值,则按照key删除。不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”
	Value string `json:"value"`
}

Secret 密钥信息

func (Secret) String

func (o Secret) String() string

type SecretDetail

type SecretDetail struct {

	// 密钥ID
	Id *string `json:"id,omitempty"`

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

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

	// 工作空间ID
	WorkspaceId *string `json:"workspace_id,omitempty"`

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

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

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

	// 密钥列表
	Secrets *[]Secret `json:"secrets,omitempty"`

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

SecretDetail 查询密钥详情响应

func (SecretDetail) String

func (o SecretDetail) String() string

type SecretId

type SecretId struct {

	// 密钥ID
	Id string `json:"id"`
}

func (SecretId) String

func (o SecretId) String() string

type SecretObjectInSecretRequestBody

type SecretObjectInSecretRequestBody struct {

	// 密钥名称,以小写英文字母开头,4-64位,可以使用小写英文、数字、中划线(-),不能以中划线结尾。
	Name string `json:"name"`

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

	// secrets是一个列表,由多个字典组成,数量上限为100个。字典的key和value均为字符串。key由大小写字母,中划线(`-`)开头,由数字、大小写字母、点号(`.`)、中划线(`-`)、下划线(`_`)组成,最小长度为1,最大长度63个字符, value不能含有字符不允许^ ~ # $ \\|% & < > ( ) [ ] { } ' \" \\,最大长度10000个字符。
	Secrets []Secret `json:"secrets"`

	// tags是一个列表,由多个字典组成,数量上限为20个。字典的key和value均为字符串。key由数字、大小写字母、点号(`.`)、中划线(`-`)、下划线(`_`)组成,最小长度为1,最大长度36个字符, value由数字、大小写字母、点号(`.`)、中划线(`-`)、下划线(`_`), 斜线(`\\`)组成,最小长度为0,最大长度43个字符。
	Tags []Tag `json:"tags"`
}

SecretObjectInSecretRequestBody 创建密钥或者更更新密钥请求体中的secret对象

func (SecretObjectInSecretRequestBody) String

type SecretRequestBody

type SecretRequestBody struct {

	// 工作空间ID。默认为default。
	WorkspaceId *string `json:"workspace_id,omitempty"`

	Secret *SecretObjectInSecretRequestBody `json:"secret"`
}

SecretRequestBody 创建密钥或者更新密钥的请求体

func (SecretRequestBody) String

func (o SecretRequestBody) String() string

type SetDefaultOrderFormRequest

type SetDefaultOrderFormRequest struct {

	// 订单ID
	OrderId string `json:"order_id"`
}

SetDefaultOrderFormRequest Request Object

func (SetDefaultOrderFormRequest) String

type SetDefaultOrderFormResponse

type SetDefaultOrderFormResponse struct {

	// 订单ID
	OrderId        *string `json:"order_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

SetDefaultOrderFormResponse Response Object

func (SetDefaultOrderFormResponse) String

type ShowConfigMapRequest

type ShowConfigMapRequest struct {

	// 配置项ID,从专业版HiLens控制台配置项管理[获取配置项列表](listConfigMapUsingGET.xml)获取
	ConfigMapId string `json:"config_map_id"`
}

ShowConfigMapRequest Request Object

func (ShowConfigMapRequest) String

func (o ShowConfigMapRequest) String() string

type ShowConfigMapResponse

type ShowConfigMapResponse struct {
	Configmap *ConfigMap `json:"configmap,omitempty"`

	// 工作空间ID,默认为注册账号/子账号的default工作空间,可通过专业版HiLens控制台展开工作空间列表获取到工作空间ID
	WorkspaceId    *string `json:"workspace_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowConfigMapResponse Response Object

func (ShowConfigMapResponse) String

func (o ShowConfigMapResponse) String() string

type ShowDeploymentPodsRequest

type ShowDeploymentPodsRequest struct {

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

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

	// 平台提供者,分别为hilens及ief。当为hilens时,请求部署在hilens平台的相关数据
	Provider *string `json:"provider,omitempty"`

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

	// 工作空间ID,默认为注册账号/子账号的default工作空间。主账号默认ID为0,子账号默认空间id为该子账号user_id
	WorkspaceId *string `json:"workspace_id,omitempty"`

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

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

ShowDeploymentPodsRequest Request Object

func (ShowDeploymentPodsRequest) String

func (o ShowDeploymentPodsRequest) String() string

type ShowDeploymentPodsResponse

type ShowDeploymentPodsResponse struct {

	// pod总个数
	Count *int32 `json:"count,omitempty"`

	// pod 列表
	Pods           *[]Pod `json:"pods,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowDeploymentPodsResponse Response Object

func (ShowDeploymentPodsResponse) String

type ShowDeploymentRequest

type ShowDeploymentRequest struct {

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

	// 平台提供者,分别为hilens及ief。当为hilens时,请求部署在hilens平台的相关数据。
	Provider *string `json:"provider,omitempty"`
}

ShowDeploymentRequest Request Object

func (ShowDeploymentRequest) String

func (o ShowDeploymentRequest) String() string

type ShowDeploymentResponse

type ShowDeploymentResponse struct {
	Template *DeploymentTemplate `json:"template,omitempty"`

	// 部署成功失败的理由
	Reason *string `json:"reason,omitempty"`

	// 已经就绪的实例节点数
	ReadyReplicas *int32 `json:"ready_replicas,omitempty"`

	// 实例节点节点数
	Replicas *int32 `json:"replicas,omitempty"`

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

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

	// 应用部署来源: HiLens市场(hlm) or aigallery(aig) or 自定义(userdefined)
	Source *string `json:"source,omitempty"`

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

	// 应用部署的指定节点,与clouster_id二选一
	NodeIds *[]string `json:"node_ids,omitempty"`

	// 应用部署的集群ID,与node_id二选一
	ClusterId *string `json:"cluster_id,omitempty"`

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

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

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

	// 部署ID
	Id *string `json:"id,omitempty"`

	// RUNNING:运行, FREEZE:冻结, UNFREEZE: 解冻, CREATING:创建中, CREATE_FAILED:创建失败, STARTING:启动中, START_FAILED:启动失败, STOPPING:停止中 STOP_FAILED:停止失败 DELETING:删除中 DELETE_FIALED:删除失败 HIBERNATED:休眠
	State *string `json:"state,omitempty"`

	// 部署的节点数,最小为1,集群部署也为1
	NodeNum *int32 `json:"node_num,omitempty"`

	// 每个节点的部署结果
	Result         *[]NodeResult `json:"result,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ShowDeploymentResponse Response Object

func (ShowDeploymentResponse) String

func (o ShowDeploymentResponse) String() string

type ShowDeploymentsRequest

type ShowDeploymentsRequest struct {

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

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

	// 平台提供者,分别为hilens及ief。当为hilens时,请求部署在hilens平台的相关数据
	Provider *string `json:"provider,omitempty"`

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

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

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

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

ShowDeploymentsRequest Request Object

func (ShowDeploymentsRequest) String

func (o ShowDeploymentsRequest) String() string

type ShowDeploymentsResponse

type ShowDeploymentsResponse struct {

	// 部署的全部数量
	Count *int32 `json:"count,omitempty"`

	// 部署列表信息
	Deployments    *[]Deployment `json:"deployments,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ShowDeploymentsResponse Response Object

func (ShowDeploymentsResponse) String

func (o ShowDeploymentsResponse) String() string

type ShowNodeActivationRecordsRequest

type ShowNodeActivationRecordsRequest struct {

	// 设备ID,从专业版HiLens控制台设备管理[查询设备列表](ListNodeUsingGeT.xml)获取
	NodeId string `json:"node_id"`

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

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

ShowNodeActivationRecordsRequest Request Object

func (ShowNodeActivationRecordsRequest) String

type ShowNodeActivationRecordsResponse

type ShowNodeActivationRecordsResponse struct {

	// 满足条件的激活记录总数
	Count *int32 `json:"count,omitempty"`

	// 激活记录列表
	Records        *[]ActivateRecordRecords `json:"records,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

ShowNodeActivationRecordsResponse Response Object

func (ShowNodeActivationRecordsResponse) String

type ShowNodeRequest

type ShowNodeRequest struct {

	// 设备ID,从专业版HiLens控制台设备管理[查询设备列表](ListNodeUsingGeT.xml)获取
	NodeId string `json:"node_id"`
}

ShowNodeRequest Request Object

func (ShowNodeRequest) String

func (o ShowNodeRequest) String() string

type ShowNodeResponse

type ShowNodeResponse struct {

	// 设备ID
	Id *string `json:"id,omitempty"`

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

	// 设备内存
	Memory *int64 `json:"memory,omitempty"`

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

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

	// 产生时间,如2021-10-15 14:45:22 GMT+08:00
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间,如2021-10-15 14:45:22 GMT+08:00
	UpdatedAt *string `json:"updated_at,omitempty"`

	// IAM用户名
	UserName *string `json:"user_name,omitempty"`

	// 当该设备处于集群时,显示设备所属的集群ID
	ClusterId *string `json:"cluster_id,omitempty"`

	// 设备所处集群状态,集群创建(cluster_create)、集群删除(cluster_delete)、添加集群工作节点设备(cluster_add_nodes)、删除集群工作节点设备(cluster_delete_node)、集群节点设备状态更新(cluster_node_state_update)
	ClusterNodeState *string `json:"cluster_node_state,omitempty"`

	// 当该设备处于集群时,显示所属的集群设备类型。 - cluster_controller 控制设备 - cluster_worker 工作设备
	ClusterNodeType *string `json:"cluster_node_type,omitempty"`

	// 固件名称。可包含大小写字母、数字、下划线、中划线,长度不超过60字符。必须以字母开头,字母或数字结尾
	FirmwareName *string `json:"firmware_name,omitempty"`

	// 固件版本。支持X.Y.Z格式。每一个子版本号不超过三位且为非负整数,禁止在数字前补0
	FirmwareVersion *string `json:"firmware_version,omitempty"`

	// 固件正在升级的版本
	UpgradeFirmwareVersion *string `json:"upgrade_firmware_version,omitempty"`

	// 固件升级状态,1、2、3分别代表升级中,升级失败,升级成
	FirmwareStatus *string `json:"firmware_status,omitempty"`

	FirmwareUpgradeRecord *[]FirmwareUpdateRecord `json:"firmware_upgrade_record,omitempty"`

	// 设备状态:UNCONNECTED(未注册)、RUNNING(运行中)、FAIL(故障)、STOPPED(停用)、UPGRADING(升级中)、FREEZE(冻结)
	State *string `json:"state,omitempty"`

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

	// 设备激活状态,未激活(INACTIVE)和已激活(ACTIVATED)
	ActiveStatus *string `json:"active_status,omitempty"`

	// 设备CPU个数
	Cpu *int32 `json:"cpu,omitempty"`

	// 设备GPU个数
	GpuNum *int32 `json:"gpu_num,omitempty"`

	// 设备NPU个数
	NpuNum *int32 `json:"npu_num,omitempty"`

	// 设备NPU类型
	NpuType *string `json:"npu_type,omitempty"`

	// 设备操作系统名称
	OsName *string `json:"os_name,omitempty"`

	// 设备操作系统类型
	OsType *string `json:"os_type,omitempty"`

	// 设备操作系统版本
	OsVersion *string `json:"os_version,omitempty"`

	// 是否启用容器
	EnableContainer *bool `json:"enable_container,omitempty"`

	// 是否启用GPU
	EnableGpu *bool `json:"enable_gpu,omitempty"`

	// 是否启用NPU
	EnableNpu *bool `json:"enable_npu,omitempty"`

	// 主机IP列表
	HostIps *[]string `json:"host_ips,omitempty"`

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

	// NPU信息
	NpuInfo *interface{} `json:"npu_info,omitempty"`

	// 激活订单号列表
	ActiveContent *[]string `json:"active_content,omitempty"`

	// 设备日志配置
	LogConfigs *[]LogConfig `json:"log_configs,omitempty"`

	// 事件有效时间(单位:分钟)
	EventValidityPeriod *int32 `json:"event_validity_period,omitempty"`
	HttpStatusCode      int    `json:"-"`
}

ShowNodeResponse Response Object

func (ShowNodeResponse) String

func (o ShowNodeResponse) String() string

type ShowNodesRequest

type ShowNodesRequest struct {

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

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

	// 设备名称,模糊匹配,只允许中文字符、英文字母、数字、下划线、中划线,最大长度64
	Name *string `json:"name,omitempty"`

	// 工作空间ID,默认为注册账号/子账号的default工作空间,可通过专业版HiLens控制台展开工作空间列表获取到工作空间ID
	WorkspaceId *string `json:"workspace_id,omitempty"`

	// 应用名称,模糊匹配,只允许英文小写字母、数字、中划线,最大长度32, 英文小写字母或数字开头和结尾
	AppName *string `json:"app_name,omitempty"`

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

	// 服务提供者:ief或hilens。不传会查询全部服务类型的设备列表
	Provider *string `json:"provider,omitempty"`

	// 集群ID,若值为0会过滤出不隶属任何集群的设备
	ClusterId *string `json:"cluster_id,omitempty"`

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

	// 设备激活状态,分别是未激活(INACTIVE)、已激活(ACTIVATED)、已到期(EXPIRED)
	ActiveStatus *string `json:"active_status,omitempty"`
}

ShowNodesRequest Request Object

func (ShowNodesRequest) String

func (o ShowNodesRequest) String() string

type ShowNodesResponse

type ShowNodesResponse struct {

	// 满足条件的设备总数
	Count *int32 `json:"count,omitempty"`

	Nodes          *[]NodeResponse `json:"nodes,omitempty"`
	HttpStatusCode int             `json:"-"`
}

ShowNodesResponse Response Object

func (ShowNodesResponse) String

func (o ShowNodesResponse) String() string

type ShowResourceTagsRequest

type ShowResourceTagsRequest struct {

	// 资源ID,不同资源(节点,部署,配置项,密钥)有不同的资源ID
	ResourceId string `json:"resource_id"`

	// 资源类型(节点,部署,配置项,密钥)
	ResourceType string `json:"resource_type"`
}

ShowResourceTagsRequest Request Object

func (ShowResourceTagsRequest) String

func (o ShowResourceTagsRequest) String() string

type ShowResourceTagsResponse

type ShowResourceTagsResponse struct {

	// 满足条件的总数
	Count *int32 `json:"count,omitempty"`

	// 资源标签对列表
	Tags           *[]TagObject `json:"tags,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ShowResourceTagsResponse Response Object

func (ShowResourceTagsResponse) String

func (o ShowResourceTagsResponse) String() string

type ShowSecretRequest

type ShowSecretRequest struct {

	// 密钥ID,从专业版HiLens控制台密钥管理[获取密钥列表](getSecretsListUsingGET.xml)获取
	SecretId string `json:"secret_id"`
}

ShowSecretRequest Request Object

func (ShowSecretRequest) String

func (o ShowSecretRequest) String() string

type ShowSecretResponse

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

ShowSecretResponse Response Object

func (ShowSecretResponse) String

func (o ShowSecretResponse) String() string

type ShowSkillInfoRequest

type ShowSkillInfoRequest struct {

	// 技能ID
	SkillId string `json:"skill_id"`

	// 技能审核状态状态,1表示审核通过,2表示审核不通过,0表示待审核
	Status *int32 `json:"status,omitempty"`

	// 技能版本
	Version *string `json:"version,omitempty"`
}

ShowSkillInfoRequest Request Object

func (ShowSkillInfoRequest) String

func (o ShowSkillInfoRequest) String() string

type ShowSkillInfoResponse

type ShowSkillInfoResponse struct {

	// 技能应用场景
	SubScenes *string `json:"sub_scenes,omitempty"`

	// 应用模板ID
	AppTemplateId *string `json:"app_template_id,omitempty"`

	// 技能图标
	Icon *string `json:"icon,omitempty"`

	// 技能版本数量
	VersionNum *int32 `json:"version_num,omitempty"`

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

	// 计费编码信息
	ProductInfo *[]string `json:"product_info,omitempty"`

	// 技能类别,分为standard和lite
	Type *string `json:"type,omitempty"`

	// 技能操作系统平台,其值为:Linux,Android, iOS, LiteOS,Windows
	Platform *string `json:"platform,omitempty"`

	// 自研标识,1表示是HiLens自研算法。
	SelfDevFlag *int32 `json:"self_dev_flag,omitempty"`

	// 计费类型,physical_src表示 src
	MeasureType *string `json:"measure_type,omitempty"`

	// 技能审核结果
	ApprovalResult *string `json:"approval_result,omitempty"`

	// 更新时间,形如2022-06-30 17:22:48 GMT+08:00
	UpdateTime *string `json:"update_time,omitempty"`

	// 通道数
	ChannelLimit *int32 `json:"channel_limit,omitempty"`

	// 发布时间
	PublishTime *string `json:"publish_time,omitempty"`

	// 步长
	ResourceStepSize *int32 `json:"resource_step_size,omitempty"`

	// 审批时间
	ApprovalTime *string `json:"approval_time,omitempty"`

	// 云服务编码
	CloudServiceType *string `json:"cloud_service_type,omitempty"`

	// 摘要
	Summary *string `json:"summary,omitempty"`

	// 测试状态
	TestStatus *int32 `json:"test_status,omitempty"`

	// 芯片
	Chip *string `json:"chip,omitempty"`

	// 是否校验模型
	IsVerifyModel *bool `json:"is_verify_model,omitempty"`

	// 技能类型,文件类型file,镜像类型iamge
	Format *string `json:"format,omitempty"`

	// 资源类别
	ResourceType *string `json:"resource_type,omitempty"`

	// 技能版本
	Version *string `json:"version,omitempty"`

	// 计费单位 qps 表示按qps收费,road表示技能路数instance 表示按实例收费
	MeasureUnit *string `json:"measure_unit,omitempty"`

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

	// 技能大小
	Size *int32 `json:"size,omitempty"`

	// 测试结果
	TestResult *string `json:"test_result,omitempty"`

	// 安装次数
	InstallTimes *int32 `json:"install_times,omitempty"`

	// 隐私条款
	PrivacyPolicy *[]string `json:"privacy_policy,omitempty"`

	// 技能名字
	Name *string `json:"name,omitempty"`

	// 技能场景
	Scenes *[]string `json:"scenes,omitempty"`

	// 计费模式
	ChargeModel *int32 `json:"charge_model,omitempty"`

	// 云服务资源编码
	ResourceSpecCode *string `json:"resource_spec_code,omitempty"`

	// 技能Id
	SkillId *string `json:"skill_id,omitempty"`

	// 开发者名字
	Developer *string `json:"developer,omitempty"`

	// 主场景
	MainScenes *string `json:"main_scenes,omitempty"`

	// 所支持的设备类别
	DeviceTypes *[]string `json:"device_types,omitempty"`

	// 技能状态
	Status *int32 `json:"status,omitempty"`

	// 技能版本号列表
	Versions *[]string `json:"versions,omitempty"`

	XRequestId     *string `json:"X-request-id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowSkillInfoResponse Response Object

func (ShowSkillInfoResponse) String

func (o ShowSkillInfoResponse) String() string

type ShowSkillListRequest

type ShowSkillListRequest struct {

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

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

	// 技能名称,支持模糊匹配。中英文、数字、下划线、中划线 长度[1-60]
	SkillName *string `json:"skill_name,omitempty"`

	// 技能形式,no_termplate不支持Modelbox部署模板,support_template支持Modelbox模板。
	SkillForm *string `json:"skill_form,omitempty"`

	// 技能可见权限,支持公开可见public以及白名单whitelist
	Permission *string `json:"permission,omitempty"`

	// 技能来源,分别hilens,ma_pro,studio
	TemplateSource *string `json:"template_source,omitempty"`

	// 技能审核状态状态,1表示审核通过,2表示审核不通过,0表示待审核
	Status *int32 `json:"status,omitempty"`

	// 收费模式,0表示永久免费,1表示收费,2表示30天试用,3表示365天试用,4表示收费(永久使用)
	ChargeModel *int32 `json:"charge_model,omitempty"`

	// 技能操作系统平台,其值为:Linux,Android, iOS, LiteOS,Windows
	Platform *string `json:"platform,omitempty"`

	// 技能芯片类型,其值为Ascend 310,Ascend 310(Atlas 200 DK),Arm,x86,3516CV500,3519AV100,3519V101,3516DV300,3516EV200,3516EV300,3518EV300
	Chip *string `json:"chip,omitempty"`

	// 技能类型,lite表示使用于海思芯片的轻量型技能。standard表示标准技能。
	Type *string `json:"type,omitempty"`

	// 收费模式多选,0表示永久免费,1表示收费,2表示30天试用,3表示365天试用,4表示收费(永久使用),分隔符为|,例如输入为1|2|3
	ChargeModels *string `json:"charge_models,omitempty"`

	// 设备类型校验,允许输入多个设备类型,用|分隔,例如设备a|设备b。每种设备类型不允许#~^$%&*<>{}[]'|字符,长度1到100。最多50个设备类型
	DeviceTypes *string `json:"device_types,omitempty"`

	// 技能适用场景,支持多选,分隔符|,例如场景a|场景b,每种场景不允许输入#~^$%&*<>{}\\\\[\\\\]'\\\\|等字符,长度100以内,最多20个设备类型。
	Scenes *string `json:"scenes,omitempty"`
}

ShowSkillListRequest Request Object

func (ShowSkillListRequest) String

func (o ShowSkillListRequest) String() string

type ShowSkillListResponse

type ShowSkillListResponse struct {

	// 技能列表
	Data *[]SkillInfo `json:"data,omitempty"`

	// 总数量
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowSkillListResponse Response Object

func (ShowSkillListResponse) String

func (o ShowSkillListResponse) String() string

type ShowSkillOrderInfoRequest

type ShowSkillOrderInfoRequest struct {

	// 订单ID
	OrderId string `json:"order_id"`
}

ShowSkillOrderInfoRequest Request Object

func (ShowSkillOrderInfoRequest) String

func (o ShowSkillOrderInfoRequest) String() string

type ShowSkillOrderInfoResponse

type ShowSkillOrderInfoResponse struct {

	// 技能是否支持永久使用标识。1标识支持,0为不支持
	ExpirationStopFlag *int32 `json:"expiration_stop_flag,omitempty"`

	// 技能套餐包订单ID
	PackageOrderId *string `json:"package_order_id,omitempty"`

	// 技能图标
	Icon *string `json:"icon,omitempty"`

	// 定制技能标识
	CommissionFlag *int32 `json:"commission_flag,omitempty"`

	// 产品收费编码信息
	ProductInfo *[]string `json:"product_info,omitempty"`

	// 套餐包ID
	PackageId *string `json:"package_id,omitempty"`

	// 计费类型,physical_src表示按物理量纲收费,比如包周期 ,src表示一次性收费
	MeasureType *string `json:"measure_type,omitempty"`

	// 更新时间
	UpdateTime *int64 `json:"update_time,omitempty"`

	// 通道数限制
	ChannelLimit *int32 `json:"channel_limit,omitempty"`

	// 步长
	ResourceStepSize *int32 `json:"resource_step_size,omitempty"`

	// 云服务编码
	CloudServiceType *string `json:"cloud_service_type,omitempty"`

	// 开发者ID
	DeveloperId *string `json:"developer_id,omitempty"`

	// 订单数量
	Amount *int32 `json:"amount,omitempty"`

	// 技能类型,文件类型file,镜像类型iamge
	Format *string `json:"format,omitempty"`

	// 资源类别
	ResourceType *string `json:"resource_type,omitempty"`

	// 到期时间
	ExpireTime *int64 `json:"expire_time,omitempty"`

	// 计费单位 qps 表示按qps收费,road表示技能路数instance 表示按实例收费
	MeasureUnit *string `json:"measure_unit,omitempty"`

	// 芯片类别
	SkillChip *string `json:"skill_chip,omitempty"`

	// 技能版本列表
	Versions *[]string `json:"versions,omitempty"`

	// 技能名字
	SkillName *string `json:"skill_name,omitempty"`

	// 技能类别
	SkillType *string `json:"skill_type,omitempty"`

	// 订单使用份数
	UsedAmount *int32 `json:"used_amount,omitempty"`

	// 计费模式
	ChargeModel *int32 `json:"charge_model,omitempty"`

	// 资源编码
	ResourceSpecCode *string `json:"resource_spec_code,omitempty"`

	// 技能ID
	SkillId *string `json:"skill_id,omitempty"`

	// 技能支持的平台
	SkillPlatform *string `json:"skill_platform,omitempty"`

	// 订单购买限制
	OrderLimit *int32 `json:"order_limit,omitempty"`

	// 订单ID
	OrderId *string `json:"order_id,omitempty"`

	// 订单状态,0表示正常状态,1表示冻结状态,2表示受限状态
	Status         *int32 `json:"status,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowSkillOrderInfoResponse Response Object

func (ShowSkillOrderInfoResponse) String

type ShowSkillOrderListRequest

type ShowSkillOrderListRequest struct {

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

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

	// 技能名称,支持模糊匹配。中英文、数字、下划线、中划线 长度[1-60]
	SkillName *string `json:"skill_name,omitempty"`

	// 技能形式,no_termplate不支持Modelbox部署模板,support_template支持Modelbox模板。
	SkillForm *string `json:"skill_form,omitempty"`
}

ShowSkillOrderListRequest Request Object

func (ShowSkillOrderListRequest) String

func (o ShowSkillOrderListRequest) String() string

type ShowSkillOrderListResponse

type ShowSkillOrderListResponse struct {

	// 订单总数
	Total *int32 `json:"total,omitempty"`

	// 技能数据
	Data           *[]SkillOrderInfo `json:"data,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ShowSkillOrderListResponse Response Object

func (ShowSkillOrderListResponse) String

type ShowTaskRequest

type ShowTaskRequest struct {

	// 部署ID,从专业版HiLens控制台部署管理[获取部署列表](getDeploymentListUsingGET.xml)获取
	DeploymentId string `json:"deployment_id"`

	// 作业ID,从专业版HiLens控制台作业管理[获取作业列表](listTasksUsingGET.xml)获取
	TaskId string `json:"task_id"`
}

ShowTaskRequest Request Object

func (ShowTaskRequest) String

func (o ShowTaskRequest) String() string

type ShowTaskResponse

type ShowTaskResponse struct {

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

	// 作业创建时间
	Timestamp *string `json:"timestamp,omitempty"`

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

	// 作业流详情
	Streams *[]TaskStream `json:"streams,omitempty"`

	// 在实例上运行成功的作业数
	OkPodNumber *int32 `json:"ok_pod_number,omitempty"`

	// 在实例上正在运行的作业数
	CurPodNumber *int32 `json:"cur_pod_number,omitempty"`

	// 在实例上运行过的作业总数
	SumPodNumber *int32 `json:"sum_pod_number,omitempty"`

	// 在实例上运行失败的作业数
	FailPodNumber *int32 `json:"fail_pod_number,omitempty"`

	// 在实例上等待运行的作业数
	PendingPodNumber *int32 `json:"pending_pod_number,omitempty"`

	// 作业状态信息
	TaskStatus *[]TaskStatus `json:"task_status,omitempty"`

	// 作业id
	TaskId *string `json:"task_id,omitempty"`

	// 用户作业id
	UserTaskId *string `json:"user_task_id,omitempty"`

	StartTimeInfo *StartTimeInfo `json:"start_time_info,omitempty"`

	SourceUsageEstimate *TaskSourceUsageEstimate `json:"source_usage_estimate,omitempty"`
	HttpStatusCode      int                      `json:"-"`
}

ShowTaskResponse Response Object

func (ShowTaskResponse) String

func (o ShowTaskResponse) String() string

type ShowUpgradeProgressRequest

type ShowUpgradeProgressRequest struct {

	// 设备ID,从专业版HiLens控制台设备管理[查询设备列表](ListNodeUsingGeT.xml)获取
	NodeId string `json:"node_id"`

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

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

ShowUpgradeProgressRequest Request Object

func (ShowUpgradeProgressRequest) String

type ShowUpgradeProgressResponse

type ShowUpgradeProgressResponse struct {

	// 升级的固件版本
	Version *string `json:"version,omitempty"`

	// 固件升级状态,1:升级中 2:升级失败 3:升级成功
	Status *int32 `json:"status,omitempty"`

	// 固件升级进度,用数字0-100表示
	Progress *string `json:"progress,omitempty"`

	// 固件升级失败原因
	Cause          *string `json:"cause,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowUpgradeProgressResponse Response Object

func (ShowUpgradeProgressResponse) String

type ShowWorkSpaceRequest

type ShowWorkSpaceRequest struct {

	// 工作空间id
	WorkspaceId string `json:"workspace_id"`
}

ShowWorkSpaceRequest Request Object

func (ShowWorkSpaceRequest) String

func (o ShowWorkSpaceRequest) String() string

type ShowWorkSpaceResponse

type ShowWorkSpaceResponse struct {

	// 工作空间id
	WorkspaceId *string `json:"workspace_id,omitempty"`

	// 对应的Modelarts工作空间的id
	MaWorkspaceId *string `json:"ma_workspace_id,omitempty"`

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

	// 工作空间名称
	Name *string `json:"name,omitempty"`

	// 工作空间描述
	Description *string `json:"description,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 企业项目名称
	EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"`

	// 创建时间
	CreateTime *int64 `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime *int64 `json:"update_time,omitempty"`

	// 创建者
	Owner *string `json:"owner,omitempty"`

	// 创建者的USER_ID
	UserId *string `json:"user_id,omitempty"`

	// 正在被使用
	UsedFlag       *string `json:"used_flag,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowWorkSpaceResponse Response Object

func (ShowWorkSpaceResponse) String

func (o ShowWorkSpaceResponse) String() string

type SkillInfo

type SkillInfo struct {

	// 技能应用场景
	SubScenes string `json:"sub_scenes"`

	// 应用模板ID
	AppTemplateId string `json:"app_template_id"`

	// 技能图标
	Icon string `json:"icon"`

	// 技能版本数量
	VersionNum int32 `json:"version_num"`

	// 技能描述
	Description string `json:"description"`

	// 计费编码信息
	ProductInfo []string `json:"product_info"`

	// 技能类别,分为standard和lite
	Type string `json:"type"`

	// 技能操作系统平台,其值为:Linux,Android, iOS, LiteOS,Windows
	Platform string `json:"platform"`

	// 自研标识,1表示是HiLens自研算法。
	SelfDevFlag int32 `json:"self_dev_flag"`

	// 计费类型,physical_src表示物理量标,如按周期收费。 src表示一次性
	MeasureType string `json:"measure_type"`

	// 技能审核结果
	ApprovalResult string `json:"approval_result"`

	// 更新时间,形如2022-06-30 17:22:48 GMT+08:00
	UpdateTime string `json:"update_time"`

	// 通道数
	ChannelLimit int32 `json:"channel_limit"`

	// 发布时间
	PublishTime string `json:"publish_time"`

	// 步长
	ResourceStepSize int32 `json:"resource_step_size"`

	// 审批时间
	ApprovalTime string `json:"approval_time"`

	// 云服务编码
	CloudServiceType string `json:"cloud_service_type"`

	// 摘要
	Summary string `json:"summary"`

	// 测试状态
	TestStatus int32 `json:"test_status"`

	// 芯片
	Chip string `json:"chip"`

	// 是否校验模型
	IsVerifyModel bool `json:"is_verify_model"`

	// 技能类型,文件类型file,镜像类型iamge
	Format string `json:"format"`

	// 资源类别
	ResourceType string `json:"resource_type"`

	// 技能版本
	Version string `json:"version"`

	// 计费单位 qps 表示按qps收费,road表示技能路数instance 表示按实例收费
	MeasureUnit string `json:"measure_unit"`

	// 标签
	Tags []string `json:"tags"`

	// 技能大小
	Size int32 `json:"size"`

	// 测试结果
	TestResult string `json:"test_result"`

	// 安装次数
	InstallTimes int32 `json:"install_times"`

	// 隐私条款
	PrivacyPolicy []string `json:"privacy_policy"`

	// 技能名字
	Name string `json:"name"`

	// 技能场景
	Scenes []string `json:"scenes"`

	// 计费模式
	ChargeModel int32 `json:"charge_model"`

	// 云服务资源编码
	ResourceSpecCode string `json:"resource_spec_code"`

	// 技能ID
	SkillId string `json:"skill_id"`

	// 开发者名字
	Developer string `json:"developer"`

	// 主场景
	MainScenes string `json:"main_scenes"`

	// 所支持的设备类别
	DeviceTypes []string `json:"device_types"`

	// 技能状态
	Status int32 `json:"status"`
}

SkillInfo 技能详情

func (SkillInfo) String

func (o SkillInfo) String() string

type SkillOrderInfo

type SkillOrderInfo struct {

	// 技能是否支持永久使用标识。1标识支持,0为不支持
	ExpirationStopFlag *int32 `json:"expiration_stop_flag,omitempty"`

	// 技能套餐包订单ID
	PackageOrderId *string `json:"package_order_id,omitempty"`

	// 技能图标
	Icon *string `json:"icon,omitempty"`

	// 定制技能标识
	CommissionFlag *int32 `json:"commission_flag,omitempty"`

	// 产品收费编码信息
	ProductInfo *[]string `json:"product_info,omitempty"`

	// 套餐包ID
	PackageId *string `json:"package_id,omitempty"`

	// 计费类型,physical_src表示按物理量纲收费,比如包周期 ,src表示一次性收费
	MeasureType *string `json:"measure_type,omitempty"`

	// 更新时间
	UpdateTime *int64 `json:"update_time,omitempty"`

	// 通道数限制
	ChannelLimit *int32 `json:"channel_limit,omitempty"`

	// 步长
	ResourceStepSize *int32 `json:"resource_step_size,omitempty"`

	// 云服务编码
	CloudServiceType *string `json:"cloud_service_type,omitempty"`

	// 开发者ID
	DeveloperId *string `json:"developer_id,omitempty"`

	// 订单数量
	Amount *int32 `json:"amount,omitempty"`

	// 技能类型,文件类型file,镜像类型iamge
	Format *string `json:"format,omitempty"`

	// 资源类别
	ResourceType *string `json:"resource_type,omitempty"`

	// 到期时间
	ExpireTime *int64 `json:"expire_time,omitempty"`

	// 计费单位 qps 表示按qps收费,road表示技能路数instance 表示按实例收费
	MeasureUnit *string `json:"measure_unit,omitempty"`

	// 芯片类别
	SkillChip *string `json:"skill_chip,omitempty"`

	// 技能版本列表
	Versions *[]string `json:"versions,omitempty"`

	// 技能名字
	SkillName *string `json:"skill_name,omitempty"`

	// 技能类别
	SkillType *string `json:"skill_type,omitempty"`

	// 订单使用份数
	UsedAmount *int32 `json:"used_amount,omitempty"`

	// 计费模式
	ChargeModel *int32 `json:"charge_model,omitempty"`

	// 资源编码
	ResourceSpecCode *string `json:"resource_spec_code,omitempty"`

	// 技能ID
	SkillId *string `json:"skill_id,omitempty"`

	// 技能支持的平台
	SkillPlatform *string `json:"skill_platform,omitempty"`

	// 订单购买限制
	OrderLimit *int32 `json:"order_limit,omitempty"`

	// 订单ID
	OrderId *string `json:"order_id,omitempty"`

	// 订单状态,0表示正常状态,1表示冻结状态,2表示受限状态
	Status *int32 `json:"status,omitempty"`
}

SkillOrderInfo 订单详情

func (SkillOrderInfo) String

func (o SkillOrderInfo) String() string

type StartAndStopDeploymentPodRequest

type StartAndStopDeploymentPodRequest struct {

	// 部署ID,可以在部署详情中获取指定ID
	DeploymentId string `json:"deployment_id"`

	// 节点ID, 可以在部署详情中获取指定ID
	PodId string `json:"pod_id"`

	// 操作请求,分别为,pause停止,resume启动
	Action string `json:"action"`
}

StartAndStopDeploymentPodRequest Request Object

func (StartAndStopDeploymentPodRequest) String

type StartAndStopDeploymentPodResponse

type StartAndStopDeploymentPodResponse struct {

	// pod的ID
	PodId          *string `json:"pod_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

StartAndStopDeploymentPodResponse Response Object

func (StartAndStopDeploymentPodResponse) String

type StartAndStopDeploymentRequest

type StartAndStopDeploymentRequest struct {

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

	// 操作请求,分别为,pause停止,resume启动
	Action string `json:"action"`
}

StartAndStopDeploymentRequest Request Object

func (StartAndStopDeploymentRequest) String

type StartAndStopDeploymentResponse

type StartAndStopDeploymentResponse struct {

	// 部署Id
	DeploymentId   *string `json:"deployment_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

StartAndStopDeploymentResponse Response Object

func (StartAndStopDeploymentResponse) String

type StartTimeInfo

type StartTimeInfo struct {

	// 任务启动时间
	StartTime string `json:"start_time"`

	// 任务运行频率(定时任务频率,每天运行还是单次运行)
	Frequency *string `json:"frequency,omitempty"`

	// 任务运行模式(按时间段运行还是按频率运行)
	Mode *string `json:"mode,omitempty"`

	// 每天运行时间段
	DayTimeFrame *[]TimeFrame `json:"day_time_frame,omitempty"`

	// 每次运行时间段
	SingleTimeFrame *[]TimeFrame `json:"single_time_frame,omitempty"`
}

StartTimeInfo 任务开始运行时间信息

func (StartTimeInfo) String

func (o StartTimeInfo) String() string

type SwitchNodeConnectionRequest

type SwitchNodeConnectionRequest struct {

	// 设备ID,从专业版HiLens控制台设备管理[查询设备列表](ListNodeUsingGeT.xml)获取
	NodeId string `json:"node_id"`

	// 服务提供者:ief或hilens,选择设备纳管到不同的平台。不填默认为hilens平台
	Provider *string `json:"provider,omitempty"`

	// 设备启用/停用动作,启用(start),停用(stop)
	Action string `json:"action"`
}

SwitchNodeConnectionRequest Request Object

func (SwitchNodeConnectionRequest) String

type SwitchNodeConnectionResponse

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

SwitchNodeConnectionResponse Response Object

func (SwitchNodeConnectionResponse) String

type Tag

type Tag struct {

	// 标签key,最大长度36个字符。不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”
	Key string `json:"key"`

	// 标签value,每个值最大长度43个字符,删除时如果value有值按照key/value删除,如果value没值,则按照key删除。不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”
	Value string `json:"value"`
}

Tag 标签

func (Tag) String

func (o Tag) String() string

type TagObject

type TagObject struct {

	// 标签键,最大长度36个字符。不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”
	Key *string `json:"key,omitempty"`

	// 标签值,每个值最大长度43个字符,删除时如果value有值按照key/value删除,如果value没值,则按照key删除。不能为空,只能包含大小写字母,数字,中划线“-”,下划线“_”
	Value *string `json:"value,omitempty"`
}

func (TagObject) String

func (o TagObject) String() string

type TagRequest

type TagRequest struct {

	// 部署节点标签的key值,长度取值范围为1~36,由英文字母,数字,中划线和下划线组成,长度1到36个字符
	Key string `json:"key"`

	// 部署节点标签的value值,长度取值范围为1~43,由英文字母,数字,下划线,点号和中划线组成,长度0到43个字符
	Value string `json:"value"`
}

func (TagRequest) String

func (o TagRequest) String() string

type TagRequestDetail

type TagRequestDetail struct {

	// 资源标签对列表
	Tags *[]TagObject `json:"tags,omitempty"`
}

func (TagRequestDetail) String

func (o TagRequestDetail) String() string

type TaskData

type TaskData struct {

	// 作业流详情
	Streams []TaskStream `json:"streams"`

	// 作业id
	TaskId *string `json:"task_id,omitempty"`

	StartTimeInfo *StartTimeInfo `json:"start_time_info,omitempty"`

	SourceUsageEstimate *TaskSourceUsageEstimate `json:"source_usage_estimate,omitempty"`
}

func (TaskData) String

func (o TaskData) String() string

type TaskInfo

type TaskInfo struct {

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

	// 作业创建时间
	Timestamp *string `json:"timestamp,omitempty"`

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

	// 作业流详情
	Streams *[]TaskStream `json:"streams,omitempty"`

	// 在实例上运行成功的作业数
	OkPodNumber *int32 `json:"ok_pod_number,omitempty"`

	// 在实例上正在运行的作业数
	CurPodNumber *int32 `json:"cur_pod_number,omitempty"`

	// 在实例上运行过的作业总数
	SumPodNumber *int32 `json:"sum_pod_number,omitempty"`

	// 在实例上运行失败的作业数
	FailPodNumber *int32 `json:"fail_pod_number,omitempty"`

	// 在实例上等待运行的作业数
	PendingPodNumber *int32 `json:"pending_pod_number,omitempty"`

	// 作业状态信息
	TaskStatus *[]TaskStatus `json:"task_status,omitempty"`

	// 作业id
	TaskId *string `json:"task_id,omitempty"`

	// 用户作业id
	UserTaskId *string `json:"user_task_id,omitempty"`

	StartTimeInfo *StartTimeInfo `json:"start_time_info,omitempty"`

	SourceUsageEstimate *TaskSourceUsageEstimate `json:"source_usage_estimate,omitempty"`
}

TaskInfo 获取作业详情

func (TaskInfo) String

func (o TaskInfo) String() string

type TaskInput

type TaskInput struct {

	// 输入数据
	Data *interface{} `json:"data"`

	// 输入类型
	Type string `json:"type"`
}

TaskInput 作业具体输入数据

func (TaskInput) String

func (o TaskInput) String() string

type TaskOutputs

type TaskOutputs struct {

	// 输出数据
	Data *interface{} `json:"data"`

	// 输出类型
	Type string `json:"type"`
}

TaskOutputs 作业具体输出数据

func (TaskOutputs) String

func (o TaskOutputs) String() string

type TaskRequest

type TaskRequest struct {

	// 作业动作,创建作业或者是删除作业又或是更新作业等
	Business *string `json:"business,omitempty"`

	Data *TaskData `json:"data"`

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

	// 实例ID,非必选
	InstanceId *string `json:"instance_id,omitempty"`

	// 作业名称
	Name string `json:"name"`

	// 时间戳,非必选
	Timestamp *string `json:"timestamp,omitempty"`
}

TaskRequest 创建或更新作业请求体

func (TaskRequest) String

func (o TaskRequest) String() string

type TaskSourceUsageEstimate

type TaskSourceUsageEstimate struct {

	// cpu消耗
	Cpu float32 `json:"cpu"`

	// 内存消耗
	Memory int32 `json:"memory"`
}

TaskSourceUsageEstimate 计算资源

func (TaskSourceUsageEstimate) String

func (o TaskSourceUsageEstimate) String() string

type TaskStatus

type TaskStatus struct {

	// 作业运行失败原因
	Cause *string `json:"cause,omitempty"`

	// 实例id
	PodId *string `json:"pod_id,omitempty"`

	// 实例名称
	PodName *string `json:"pod_name,omitempty"`

	// 作业在实例上的状态
	TaskStatus *string `json:"task_status,omitempty"`
}

TaskStatus 作业在实例上的状态信息

func (TaskStatus) String

func (o TaskStatus) String() string

type TaskStream

type TaskStream struct {

	// 作业参数配置
	Common *interface{} `json:"common,omitempty"`

	Input *TaskInput `json:"input"`

	// 输出详情
	Outputs []TaskOutputs `json:"outputs"`
}

TaskStream 作业流参数

func (TaskStream) String

func (o TaskStream) String() string

type TimeFrame

type TimeFrame struct {

	// 任务开始时间
	Start string `json:"start"`

	// 任务结束时间
	Stop string `json:"stop"`
}

TimeFrame 定时任务时间段信息

func (TimeFrame) String

func (o TimeFrame) String() string

type UnfreezeNodeRequest

type UnfreezeNodeRequest struct {

	// 设备ID,从专业版HiLens控制台设备管理[查询设备列表](ListNodeUsingGeT.xml)获取
	NodeId string `json:"node_id"`

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

UnfreezeNodeRequest Request Object

func (UnfreezeNodeRequest) String

func (o UnfreezeNodeRequest) String() string

type UnfreezeNodeResponse

type UnfreezeNodeResponse struct {

	// 设备ID
	NodeId         *string `json:"node_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UnfreezeNodeResponse Response Object

func (UnfreezeNodeResponse) String

func (o UnfreezeNodeResponse) String() string

type UpdateConfigMapRequest

type UpdateConfigMapRequest struct {

	// 配置项ID,从专业版HiLens控制台配置项管理[获取配置项列表](listConfigMapUsingGET.xml)获取
	ConfigMapId string `json:"config_map_id"`

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

UpdateConfigMapRequest Request Object

func (UpdateConfigMapRequest) String

func (o UpdateConfigMapRequest) String() string

type UpdateConfigMapResponse

type UpdateConfigMapResponse struct {
	Configmap *ConfigMap `json:"configmap,omitempty"`

	// 工作空间ID,默认为注册账号/子账号的default工作空间,可通过专业版HiLens控制台展开工作空间列表获取到工作空间ID
	WorkspaceId    *string `json:"workspace_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateConfigMapResponse Response Object

func (UpdateConfigMapResponse) String

func (o UpdateConfigMapResponse) String() string

type UpdateDeploymentRequest

type UpdateDeploymentRequest struct {

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

	// 平台提供者,分别为hilens及ief。当为hilens时,请求部署在hilens平台的相关数据。
	Provider *string `json:"provider,omitempty"`

	// 离线场景超期时间,单位分钟,范围在1-86400
	XExpiredTime *int32 `json:"X-Expired-Time,omitempty"`

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

UpdateDeploymentRequest Request Object

func (UpdateDeploymentRequest) String

func (o UpdateDeploymentRequest) String() string

type UpdateDeploymentResponse

type UpdateDeploymentResponse struct {
	Template *DeploymentTemplate `json:"template,omitempty"`

	// 部署成功失败的理由
	Reason *string `json:"reason,omitempty"`

	// 已经就绪的实例节点数
	ReadyReplicas *int32 `json:"ready_replicas,omitempty"`

	// 实例节点节点数
	Replicas *int32 `json:"replicas,omitempty"`

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

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

	// 应用部署来源: HiLens市场(hlm) or aigallery(aig) or 自定义(userdefined)
	Source *string `json:"source,omitempty"`

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

	// 应用部署的指定节点,与clouster_id二选一
	NodeIds *[]string `json:"node_ids,omitempty"`

	// 应用部署的集群ID,与node_id二选一
	ClusterId *string `json:"cluster_id,omitempty"`

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

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

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

	// 部署ID
	Id *string `json:"id,omitempty"`

	// RUNNING:运行, FREEZE:冻结, UNFREEZE: 解冻, CREATING:创建中, CREATE_FAILED:创建失败, STARTING:启动中, START_FAILED:启动失败, STOPPING:停止中 STOP_FAILED:停止失败 DELETING:删除中 DELETE_FIALED:删除失败 HIBERNATED:休眠
	State *string `json:"state,omitempty"`

	// 部署的节点数,最小为1,集群部署也为1
	NodeNum *int32 `json:"node_num,omitempty"`

	// 每个节点的部署结果
	Result         *[]NodeResult `json:"result,omitempty"`
	HttpStatusCode int           `json:"-"`
}

UpdateDeploymentResponse Response Object

func (UpdateDeploymentResponse) String

func (o UpdateDeploymentResponse) String() string

type UpdateDeploymentUsingPatchRequest

type UpdateDeploymentUsingPatchRequest struct {

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

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

UpdateDeploymentUsingPatchRequest Request Object

func (UpdateDeploymentUsingPatchRequest) String

type UpdateDeploymentUsingPatchResponse

type UpdateDeploymentUsingPatchResponse struct {
	Template *DeploymentTemplate `json:"template,omitempty"`

	// 部署成功失败的理由
	Reason *string `json:"reason,omitempty"`

	// 已经就绪的实例节点数
	ReadyReplicas *int32 `json:"ready_replicas,omitempty"`

	// 实例节点节点数
	Replicas *int32 `json:"replicas,omitempty"`

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

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

	// 应用部署来源: HiLens市场(hlm) or aigallery(aig) or 自定义(userdefined)
	Source *string `json:"source,omitempty"`

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

	// 应用部署的指定节点,与clouster_id二选一
	NodeIds *[]string `json:"node_ids,omitempty"`

	// 应用部署的集群ID,与node_id二选一
	ClusterId *string `json:"cluster_id,omitempty"`

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

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

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

	// 部署ID
	Id *string `json:"id,omitempty"`

	// RUNNING:运行, FREEZE:冻结, UNFREEZE: 解冻, CREATING:创建中, CREATE_FAILED:创建失败, STARTING:启动中, START_FAILED:启动失败, STOPPING:停止中 STOP_FAILED:停止失败 DELETING:删除中 DELETE_FIALED:删除失败 HIBERNATED:休眠
	State *string `json:"state,omitempty"`

	// 部署的节点数,最小为1,集群部署也为1
	NodeNum *int32 `json:"node_num,omitempty"`

	// 每个节点的部署结果
	Result         *[]NodeResult `json:"result,omitempty"`
	HttpStatusCode int           `json:"-"`
}

UpdateDeploymentUsingPatchResponse Response Object

func (UpdateDeploymentUsingPatchResponse) String

type UpdateDescription

type UpdateDescription struct {

	// 工作空间描述
	Description string `json:"description"`
}

func (UpdateDescription) String

func (o UpdateDescription) String() string

type UpdateNodeCertRequest

type UpdateNodeCertRequest struct {

	// 设备ID,从专业版HiLens控制台设备管理[查询设备列表](ListNodeUsingGeT.xml)获取
	NodeId string `json:"node_id"`
}

UpdateNodeCertRequest Request Object

func (UpdateNodeCertRequest) String

func (o UpdateNodeCertRequest) String() string

type UpdateNodeCertResponse

type UpdateNodeCertResponse struct {

	// 设备ID
	Id *string `json:"id,omitempty"`

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

	// 将设备配置和证书文件node.conf/certificate/private_key打成.tar.gz包后用base64编码的字符串。node.conf包含节点信息配置
	Package        *string `json:"package,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateNodeCertResponse Response Object

func (UpdateNodeCertResponse) String

func (o UpdateNodeCertResponse) String() string

type UpdateNodeFirmwareRequest

type UpdateNodeFirmwareRequest struct {

	// 设备ID,从专业版HiLens控制台设备管理[查询设备列表](ListNodeUsingGeT.xml)获取
	NodeId string `json:"node_id"`

	// 固件ID,,从专业版HiLens控制台固件管理[查询固件列表](ListFirmwares.xml)获取
	FirmwareId string `json:"firmware_id"`

	// 离线场景超期时间,单位分钟,范围在1-86400
	XExpiredTime *int32 `json:"X-Expired-Time,omitempty"`
}

UpdateNodeFirmwareRequest Request Object

func (UpdateNodeFirmwareRequest) String

func (o UpdateNodeFirmwareRequest) String() string

type UpdateNodeFirmwareResponse

type UpdateNodeFirmwareResponse struct {
	Body *interface{} `json:"body,omitempty"`

	FirmwareName *string `json:"firmware_name,omitempty"`

	FirmwareId     *string `json:"firmware_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateNodeFirmwareResponse Response Object

func (UpdateNodeFirmwareResponse) String

type UpdateNodeReqDetail

type UpdateNodeReqDetail struct {

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

	// 设备日志配置
	LogConfigs *[]LogConfig `json:"log_configs,omitempty"`

	// 设备标签,标签个数最多为20个
	Tags *[]TagObject `json:"tags,omitempty"`

	// 事件有效时间(单位:分钟)
	EventValidityPeriod *int32 `json:"event_validity_period,omitempty"`

	// 是否开启gpu
	EnableGpu *bool `json:"enable_gpu,omitempty"`

	// 是否开启npu
	EnableNpu *bool `json:"enable_npu,omitempty"`

	// npu类型,如果选择开启npu, 可设置类型Ascend 310/ Ascend 710, 如果选择开启gpu,请设置值为null。
	NpuType *string `json:"npu_type,omitempty"`
}

func (UpdateNodeReqDetail) String

func (o UpdateNodeReqDetail) String() string

type UpdateNodeRequest

type UpdateNodeRequest struct {

	// 设备ID,从专业版HiLens控制台设备管理[查询设备列表](ListNodeUsingGeT.xml)获取
	NodeId string `json:"node_id"`

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

UpdateNodeRequest Request Object

func (UpdateNodeRequest) String

func (o UpdateNodeRequest) String() string

type UpdateNodeRequestBody

type UpdateNodeRequestBody struct {
	Node *UpdateNodeReqDetail `json:"node"`
}

func (UpdateNodeRequestBody) String

func (o UpdateNodeRequestBody) String() string

type UpdateNodeResponse

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

UpdateNodeResponse Response Object

func (UpdateNodeResponse) String

func (o UpdateNodeResponse) String() string

type UpdateSecretRequest

type UpdateSecretRequest struct {

	// 密钥ID,从专业版HiLens控制台密钥管理[获取密钥列表](getSecretsListUsingGET.xml)获取
	SecretId string `json:"secret_id"`

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

UpdateSecretRequest Request Object

func (UpdateSecretRequest) String

func (o UpdateSecretRequest) String() string

type UpdateSecretResponse

type UpdateSecretResponse struct {

	// 工作空间ID
	WorkspaceId *string `json:"workspace_id,omitempty"`

	Secret         *CreateUpdateSecretRespSecret `json:"secret,omitempty"`
	HttpStatusCode int                           `json:"-"`
}

UpdateSecretResponse Response Object

func (UpdateSecretResponse) String

func (o UpdateSecretResponse) String() string

type UpdateTaskRequest

type UpdateTaskRequest struct {

	// 部署ID,从专业版HiLens控制台部署管理[获取部署列表](getDeploymentListUsingGET.xml)获取
	DeploymentId string `json:"deployment_id"`

	// 作业ID,从专业版HiLens控制台作业管理[获取作业列表](listTasksUsingGET.xml)获取
	TaskId string `json:"task_id"`

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

UpdateTaskRequest Request Object

func (UpdateTaskRequest) String

func (o UpdateTaskRequest) String() string

type UpdateTaskResponse

type UpdateTaskResponse struct {

	// 作业id
	TaskId         *string `json:"task_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateTaskResponse Response Object

func (UpdateTaskResponse) String

func (o UpdateTaskResponse) String() string

type UpdateWorkSpaceRequest

type UpdateWorkSpaceRequest struct {

	// 工作空间ID
	WorkspaceId string `json:"workspace_id"`

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

UpdateWorkSpaceRequest Request Object

func (UpdateWorkSpaceRequest) String

func (o UpdateWorkSpaceRequest) String() string

type UpdateWorkSpaceResponse

type UpdateWorkSpaceResponse struct {

	// 工作空间id
	WorkspaceId    *string `json:"workspace_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateWorkSpaceResponse Response Object

func (UpdateWorkSpaceResponse) String

func (o UpdateWorkSpaceResponse) String() string

type ValueFrom

type ValueFrom struct {
	Configmap *ConfigsMap `json:"configmap,omitempty"`

	Secret *DeploymentSecrets `json:"secret,omitempty"`
}

func (ValueFrom) String

func (o ValueFrom) String() string

type Volume

type Volume struct {

	// 卷挂载路径,必须是合法的路径
	Destination string `json:"destination"`

	// 卷的类型,支持configMap,secret,emptyDir,hostPath
	Key string `json:"key"`

	// 卷名称,小写字母或数字,最长63个字符
	Name string `json:"name"`

	// 读写权限,configMap和secret类型只支持读权限
	ReadOnly bool `json:"read_only"`

	// 卷来源,type为hostPath时输入路径,要求以/开头,后面可包含中划线,反斜杠,下划线,点号,字母,数字; secret时输入secret名称,configMap时输入configMap名称,emptyDir时输入disk或memory
	Source string `json:"source"`

	// 卷的类型,支持configMap,secret,emptyDir,hostPath
	Type string `json:"type"`
}

func (Volume) String

func (o Volume) String() string

type WorkspaceListElem

type WorkspaceListElem struct {

	// 工作空间id
	WorkspaceId *string `json:"workspace_id,omitempty"`

	// 对应的Modelarts工作空间的id
	MaWorkspaceId *string `json:"ma_workspace_id,omitempty"`

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

	// 工作空间名称
	Name *string `json:"name,omitempty"`

	// 工作空间描述
	Description *string `json:"description,omitempty"`

	// 企业项目ID
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 企业项目名称
	EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"`

	// 创建时间
	CreateTime *int64 `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime *int64 `json:"update_time,omitempty"`

	// 创建者
	Owner *string `json:"owner,omitempty"`

	// 创建者的USER_ID
	UserId *string `json:"user_id,omitempty"`

	// 正在被使用
	UsedFlag *string `json:"used_flag,omitempty"`
}

func (WorkspaceListElem) String

func (o WorkspaceListElem) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL