Documentation ¶
Index ¶
- type AccountStatus
- type Attributes
- type CheckInstanceAccessRequest
- type CheckInstanceAccessResponse
- type CheckNameRequest
- type CheckNameResponse
- type CreateExtensionAuthorizationRequest
- type CreateExtensionAuthorizationResponse
- type CreateInstanceBy3rdRequest
- type CreateInstanceBy3rdResponse
- type CreateInstanceRequest
- type CreateInstanceResponse
- type DeleteInstanceRequest
- type DeleteInstanceResponse
- type ExpireVo
- type ExtensionAuthorization
- type ExtensionAuthorizationStatus
- type ExtensionAuthorizationStatusEnum
- type InstanceEdgeParam
- type InstanceEdgeParamArch
- type InstanceEdgeParamArchEnum
- type InstanceEdgeParamCpuMemory
- type InstanceEdgeParamCpuMemoryEnum
- type InstanceEdgeParamPvcQuantity
- type InstanceEdgeParamPvcQuantityEnum
- type InstanceParam
- type InstanceParamArch
- type InstanceParamArchEnum
- type InstanceParamCpuMemory
- type InstanceParamCpuMemoryEnum
- type InstanceParamPvcQuantity
- type InstanceParamPvcQuantityEnum
- type InstanceUpdateParam
- type InstancesResponseInstancesVoResult
- type InstancesResponseInstancesVoResultArch
- type InstancesResponseInstancesVoResultArchEnum
- type InstancesVo
- type InstancesVoArch
- type InstancesVoArchEnum
- type InstancesVoCpuMemory
- type InstancesVoCpuMemoryEnum
- type InstancesVoPvcQuantity
- type InstancesVoPvcQuantityEnum
- type InstancesVoStatus
- type InstancesVoStatusEnum
- type ListInstancesRequest
- type ListInstancesResponse
- type ListOrgInstancesRequest
- type ListOrgInstancesResponse
- type ListProjectTemplatesRequest
- type ListProjectTemplatesResponse
- type ListStacksRequest
- type ListStacksResponse
- type PageInstancesVo
- type Plugin
- type ProjectTemplates
- type Recipe
- type ResourcePrice
- type ResourcePriceArch
- type ResourcePriceArchEnum
- type ShowAccountStatusRequest
- type ShowAccountStatusResponse
- type ShowExtensionAuthorizationRequest
- type ShowExtensionAuthorizationResponse
- type ShowInstanceRequest
- type ShowInstanceResponse
- type ShowPriceRequest
- type ShowPriceResponse
- type SourceStorage
- type StackInfo
- type StacksAttribute
- type StacksConfig
- type StacksTags
- type StartInstanceParam
- type StartInstanceRequest
- type StartInstanceResponse
- type StopInstanceRequest
- type StopInstanceResponse
- type UpdateInstanceActivityRequest
- type UpdateInstanceActivityResponse
- type UpdateInstanceRequest
- type UpdateInstanceResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountStatus ¶
type AccountStatus struct { // 是否有创建实例权限 CurOrgCreateRole *bool `json:"cur_org_create_role,omitempty"` // 帐号所属租户是否开通服务 CurOrgOpen *bool `json:"cur_org_open,omitempty"` // 免费试用 HasFreeTrial *bool `json:"has_free_trial,omitempty"` // 是否有管理入口的权限 ShowManage *bool `json:"show_manage,omitempty"` }
func (AccountStatus) String ¶
func (o AccountStatus) String() string
type Attributes ¶
type Attributes struct { // cpu限制 CpuLimit *string `json:"cpu_limit,omitempty"` // 内存限制 MemoryLimitBytes *string `json:"memory_limit_bytes,omitempty"` // pvc规格 PvcQuantity *string `json:"pvc_quantity,omitempty"` }
func (Attributes) String ¶
func (o Attributes) String() string
type CheckInstanceAccessRequest ¶ added in v0.0.71
type CheckInstanceAccessRequest struct { // CloudIDE实例id InstanceId string `json:"instance_id"` }
Request Object
func (CheckInstanceAccessRequest) String ¶ added in v0.0.71
func (o CheckInstanceAccessRequest) String() string
type CheckInstanceAccessResponse ¶ added in v0.0.71
type CheckInstanceAccessResponse struct { // 返回值 Result *bool `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CheckInstanceAccessResponse) String ¶ added in v0.0.71
func (o CheckInstanceAccessResponse) String() string
type CheckNameRequest ¶
type CheckNameRequest struct { // 实例名。 可以输入中文、数字、字母、下划线、点、破折号。长度介于3-100之间 DisplayName string `json:"display_name"` }
Request Object
func (CheckNameRequest) String ¶
func (o CheckNameRequest) String() string
type CheckNameResponse ¶
type CheckNameResponse struct { // 返回值 Result *bool `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CheckNameResponse) String ¶
func (o CheckNameResponse) String() string
type CreateExtensionAuthorizationRequest ¶ added in v0.0.71
type CreateExtensionAuthorizationRequest struct { // CloudIDE实例ID InstanceId string `json:"instance_id"` Body *ExtensionAuthorization `json:"body,omitempty"` }
Request Object
func (CreateExtensionAuthorizationRequest) String ¶ added in v0.0.71
func (o CreateExtensionAuthorizationRequest) String() string
type CreateExtensionAuthorizationResponse ¶ added in v0.0.71
type CreateExtensionAuthorizationResponse struct { // 返回值 Result *bool `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateExtensionAuthorizationResponse) String ¶ added in v0.0.71
func (o CreateExtensionAuthorizationResponse) String() string
type CreateInstanceBy3rdRequest ¶
type CreateInstanceBy3rdRequest struct { // 实例标签(不同的第三方需要和CloudIDE服务共同设定标签)。不传默认为classroom InstanceLabel *string `json:"instance_label,omitempty"` Body *InstanceEdgeParam `json:"body,omitempty"` }
Request Object
func (CreateInstanceBy3rdRequest) String ¶
func (o CreateInstanceBy3rdRequest) String() string
type CreateInstanceBy3rdResponse ¶
type CreateInstanceBy3rdResponse struct { Result *InstancesResponseInstancesVoResult `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateInstanceBy3rdResponse) String ¶
func (o CreateInstanceBy3rdResponse) String() string
type CreateInstanceRequest ¶
type CreateInstanceRequest struct { // 租户id(对应华为云帐号的domainId) OrgId string `json:"org_id"` Body *InstanceParam `json:"body,omitempty"` }
Request Object
func (CreateInstanceRequest) String ¶
func (o CreateInstanceRequest) String() string
type CreateInstanceResponse ¶
type CreateInstanceResponse struct { Result *InstancesResponseInstancesVoResult `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateInstanceResponse) String ¶
func (o CreateInstanceResponse) String() string
type DeleteInstanceRequest ¶
type DeleteInstanceRequest struct { // 实例id InstanceId string `json:"instance_id"` }
Request Object
func (DeleteInstanceRequest) String ¶
func (o DeleteInstanceRequest) String() string
type DeleteInstanceResponse ¶
type DeleteInstanceResponse struct { // 返回值 Result *bool `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteInstanceResponse) String ¶
func (o DeleteInstanceResponse) String() string
type ExpireVo ¶ added in v0.0.71
type ExtensionAuthorization ¶ added in v0.0.71
type ExtensionAuthorization struct { // 插件版本 ExtensionVersion string `json:"extension_version"` // 插件标识(发布者.插件名) Identifier string `json:"identifier"` // CloudIDE实例ID InstanceId *string `json:"instance_id,omitempty"` // 插件状态。 - AGREE 同意 - REJECT 不同意 - UNKNOWN 未知(下次重新询问) Status ExtensionAuthorizationStatus `json:"status"` }
func (ExtensionAuthorization) String ¶ added in v0.0.71
func (o ExtensionAuthorization) String() string
type ExtensionAuthorizationStatus ¶ added in v0.0.71
type ExtensionAuthorizationStatus struct {
// contains filtered or unexported fields
}
func (ExtensionAuthorizationStatus) MarshalJSON ¶ added in v0.0.71
func (c ExtensionAuthorizationStatus) MarshalJSON() ([]byte, error)
func (*ExtensionAuthorizationStatus) UnmarshalJSON ¶ added in v0.0.71
func (c *ExtensionAuthorizationStatus) UnmarshalJSON(b []byte) error
type ExtensionAuthorizationStatusEnum ¶ added in v0.0.71
type ExtensionAuthorizationStatusEnum struct { AGREE ExtensionAuthorizationStatus REJECT ExtensionAuthorizationStatus UNKNOWN ExtensionAuthorizationStatus }
func GetExtensionAuthorizationStatusEnum ¶ added in v0.0.71
func GetExtensionAuthorizationStatusEnum() ExtensionAuthorizationStatusEnum
type InstanceEdgeParam ¶
type InstanceEdgeParam struct { // cpu架构 x86|arm Arch *InstanceEdgeParamArch `json:"arch,omitempty"` // cpu规格.arm架构支持4U8G,x86架构支持1U1G,2U4G,2U8G 与技术栈配置的规格对应,可通过技术栈管理ListStacks接口获取。如果标签不为空,以标签配置的技术栈规格为准。 quantum技术栈,x86架构cpu规格为2U8G;其他技术栈,x86架构cpu规格为1U1G,2U4G CpuMemory InstanceEdgeParamCpuMemory `json:"cpu_memory"` // 描述。长度不操过100个字符 Description *string `json:"description,omitempty"` // 实例名。 可以输入中文、数字、字母、下划线、点、破折号。长度介于3-100之间 InstanceName string `json:"instance_name"` // 租户id(对应华为云帐号的domainId) InstanceUserDomainId *string `json:"instance_user_domain_id,omitempty"` // 用户租户名 InstanceUserDomainName *string `json:"instance_user_domain_name,omitempty"` // 用户id InstanceUserId *string `json:"instance_user_id,omitempty"` // 用户名 InstanceUserName *string `json:"instance_user_name,omitempty"` // 是否页面显示(以标签配置为准) IsTemporary *bool `json:"is_temporary,omitempty"` // 插件列表 Plugins *[]Plugin `json:"plugins,omitempty"` // PVC规格 5GB|10GB|20GB PvcQuantity InstanceEdgeParamPvcQuantity `json:"pvc_quantity"` // 自动休眠时长。 arm架构,自动休眠时长只能设置成30,60。x86架构可取值为30,60,240,1440和-1。除-1外,其它值的单位为“分钟”。实例无操作超过自动休眠时长后,将会被暂停(已保存的数据不会被删除)。-1表示实例不会自动停止。 RefreshTime *string `json:"refresh_time,omitempty"` // 技术栈ID,通过技术栈管理ListStacks接口获取。 StackId string `json:"stack_id"` }
func (InstanceEdgeParam) String ¶
func (o InstanceEdgeParam) String() string
type InstanceEdgeParamArch ¶
type InstanceEdgeParamArch struct {
// contains filtered or unexported fields
}
func (InstanceEdgeParamArch) MarshalJSON ¶
func (c InstanceEdgeParamArch) MarshalJSON() ([]byte, error)
func (*InstanceEdgeParamArch) UnmarshalJSON ¶
func (c *InstanceEdgeParamArch) UnmarshalJSON(b []byte) error
type InstanceEdgeParamArchEnum ¶
type InstanceEdgeParamArchEnum struct { X86 InstanceEdgeParamArch ARM InstanceEdgeParamArch }
func GetInstanceEdgeParamArchEnum ¶
func GetInstanceEdgeParamArchEnum() InstanceEdgeParamArchEnum
type InstanceEdgeParamCpuMemory ¶
type InstanceEdgeParamCpuMemory struct {
// contains filtered or unexported fields
}
func (InstanceEdgeParamCpuMemory) MarshalJSON ¶
func (c InstanceEdgeParamCpuMemory) MarshalJSON() ([]byte, error)
func (*InstanceEdgeParamCpuMemory) UnmarshalJSON ¶
func (c *InstanceEdgeParamCpuMemory) UnmarshalJSON(b []byte) error
type InstanceEdgeParamCpuMemoryEnum ¶
type InstanceEdgeParamCpuMemoryEnum struct { E_1_U1_G InstanceEdgeParamCpuMemory E_2_U4_G InstanceEdgeParamCpuMemory E_2_U8_G InstanceEdgeParamCpuMemory E_4_U8_G InstanceEdgeParamCpuMemory }
func GetInstanceEdgeParamCpuMemoryEnum ¶
func GetInstanceEdgeParamCpuMemoryEnum() InstanceEdgeParamCpuMemoryEnum
type InstanceEdgeParamPvcQuantity ¶
type InstanceEdgeParamPvcQuantity struct {
// contains filtered or unexported fields
}
func (InstanceEdgeParamPvcQuantity) MarshalJSON ¶
func (c InstanceEdgeParamPvcQuantity) MarshalJSON() ([]byte, error)
func (*InstanceEdgeParamPvcQuantity) UnmarshalJSON ¶
func (c *InstanceEdgeParamPvcQuantity) UnmarshalJSON(b []byte) error
type InstanceEdgeParamPvcQuantityEnum ¶
type InstanceEdgeParamPvcQuantityEnum struct { E_5_GB InstanceEdgeParamPvcQuantity E_10_GB InstanceEdgeParamPvcQuantity E_20_GB InstanceEdgeParamPvcQuantity }
func GetInstanceEdgeParamPvcQuantityEnum ¶
func GetInstanceEdgeParamPvcQuantityEnum() InstanceEdgeParamPvcQuantityEnum
type InstanceParam ¶
type InstanceParam struct { // 代理商id,教程活动场景下使用 AgentId *string `json:"agent_id,omitempty"` // cpu架构 x86|arm Arch *InstanceParamArch `json:"arch,omitempty"` // cpu规格.arm架构支持4U8G,x86架构支持1U1G,2U4G,2U8G 与技术栈配置的规格对应,可通过技术栈管理ListStacks接口获取。如果标签不为空,以标签配置的技术栈规格为准。 quantum技术栈,x86架构cpu规格为2U8G;其他技术栈,x86架构cpu规格为1U1G,2U4G CpuMemory InstanceParamCpuMemory `json:"cpu_memory"` // 描述 Description *string `json:"description,omitempty"` // 实例名。 可以输入中文、数字、字母、下划线、点、破折号。长度介于3-100之间 DisplayName string `json:"display_name"` // 是否页面显示(以标签配置为准) IsTemporary *bool `json:"is_temporary,omitempty"` // 实例标签(不同的第三方需要和CloudIDE服务共同设定标签),不传默认为default LabelTag *string `json:"label_tag,omitempty"` // 预装插件列表 PluginEnableList *[]string `json:"plugin_enable_list,omitempty"` // 预装插件参数 PluginVars map[string]string `json:"plugin_vars,omitempty"` // 云服务器对应的portId,小网连接ecs的场景下使用 PortId *string `json:"port_id,omitempty"` // 云服务器ip,小网连接ecs的场景下使用 PrivateIp *string `json:"private_ip,omitempty"` // PVC规格 5GB|10GB|20GB PvcQuantity InstanceParamPvcQuantity `json:"pvc_quantity"` // 自动休眠时长。 arm架构,自动休眠时长只能设置成30,60。x86架构可取值为30,60,240,1440和-1。除-1外,其它值的单位为“分钟”。实例无操作超过自动休眠时长后,将会被暂停(已保存的数据不会被删除)。-1表示实例不会自动停止 RefreshInterval string `json:"refresh_interval"` // 解放号的仓库id,解放号场景下使用 RepositoryId *int64 `json:"repository_id,omitempty"` // 技术栈ID,通过技术栈管理ListStacks接口获取。 StackId string `json:"stack_id"` // 任务类型,教程活动场景下使用 TaskType *string `json:"task_type,omitempty"` // 解放号的token,解放号场景下使用 Token *string `json:"token,omitempty"` // 云服务器对应的vpcId,小网连接ecs的场景下使用 VpcId *string `json:"vpc_id,omitempty"` // 实例授权用户租户名 InstanceUserDomainName *string `json:"instance_user_domain_name,omitempty"` // 实例授权用户名 InstanceUserName *string `json:"instance_user_name,omitempty"` // 实例授权用户租户ID InstanceDomainId *string `json:"instance_domain_id,omitempty"` // 实例授权用户ID InstanceUserId *string `json:"instance_user_id,omitempty"` }
func (InstanceParam) String ¶
func (o InstanceParam) String() string
type InstanceParamArch ¶
type InstanceParamArch struct {
// contains filtered or unexported fields
}
func (InstanceParamArch) MarshalJSON ¶
func (c InstanceParamArch) MarshalJSON() ([]byte, error)
func (*InstanceParamArch) UnmarshalJSON ¶
func (c *InstanceParamArch) UnmarshalJSON(b []byte) error
type InstanceParamArchEnum ¶
type InstanceParamArchEnum struct { X86 InstanceParamArch ARM InstanceParamArch }
func GetInstanceParamArchEnum ¶
func GetInstanceParamArchEnum() InstanceParamArchEnum
type InstanceParamCpuMemory ¶
type InstanceParamCpuMemory struct {
// contains filtered or unexported fields
}
func (InstanceParamCpuMemory) MarshalJSON ¶
func (c InstanceParamCpuMemory) MarshalJSON() ([]byte, error)
func (*InstanceParamCpuMemory) UnmarshalJSON ¶
func (c *InstanceParamCpuMemory) UnmarshalJSON(b []byte) error
type InstanceParamCpuMemoryEnum ¶
type InstanceParamCpuMemoryEnum struct { E_1_U1_G InstanceParamCpuMemory E_2_U4_G InstanceParamCpuMemory E_2_U8_G InstanceParamCpuMemory E_4_U8_G InstanceParamCpuMemory }
func GetInstanceParamCpuMemoryEnum ¶
func GetInstanceParamCpuMemoryEnum() InstanceParamCpuMemoryEnum
type InstanceParamPvcQuantity ¶
type InstanceParamPvcQuantity struct {
// contains filtered or unexported fields
}
func (InstanceParamPvcQuantity) MarshalJSON ¶
func (c InstanceParamPvcQuantity) MarshalJSON() ([]byte, error)
func (*InstanceParamPvcQuantity) UnmarshalJSON ¶
func (c *InstanceParamPvcQuantity) UnmarshalJSON(b []byte) error
type InstanceParamPvcQuantityEnum ¶
type InstanceParamPvcQuantityEnum struct { E_5_GB InstanceParamPvcQuantity E_10_GB InstanceParamPvcQuantity E_20_GB InstanceParamPvcQuantity }
func GetInstanceParamPvcQuantityEnum ¶
func GetInstanceParamPvcQuantityEnum() InstanceParamPvcQuantityEnum
type InstanceUpdateParam ¶
type InstanceUpdateParam struct { // 描述 Description *string `json:"description,omitempty"` // 实例名。 可以输入中文、数字、字母、下划线、点、破折号。长度介于3-100之间 DisplayName string `json:"display_name"` // 自动休眠时长。 arm架构,自动休眠时长只能设置成30,60。x86架构可取值为30,60,240,1440和-1。除-1外,其它值的单位为“分钟”。实例无操作超过自动休眠时长后,将会被暂停(已保存的数据不会被删除)。-1表示实例不会自动停止 RefreshInterval string `json:"refresh_interval"` }
func (InstanceUpdateParam) String ¶
func (o InstanceUpdateParam) String() string
type InstancesResponseInstancesVoResult ¶
type InstancesResponseInstancesVoResult struct { // 链接 Link *string `json:"link,omitempty"` // cpu架构 x86|arm Arch *InstancesResponseInstancesVoResultArch `json:"arch,omitempty"` // 实例id Id *string `json:"id,omitempty"` // 是否私有平台 Private *bool `json:"private,omitempty"` }
返回值
func (InstancesResponseInstancesVoResult) String ¶
func (o InstancesResponseInstancesVoResult) String() string
type InstancesResponseInstancesVoResultArch ¶
type InstancesResponseInstancesVoResultArch struct {
// contains filtered or unexported fields
}
func (InstancesResponseInstancesVoResultArch) MarshalJSON ¶
func (c InstancesResponseInstancesVoResultArch) MarshalJSON() ([]byte, error)
func (*InstancesResponseInstancesVoResultArch) UnmarshalJSON ¶
func (c *InstancesResponseInstancesVoResultArch) UnmarshalJSON(b []byte) error
type InstancesResponseInstancesVoResultArchEnum ¶
type InstancesResponseInstancesVoResultArchEnum struct { X86 InstancesResponseInstancesVoResultArch ARM InstancesResponseInstancesVoResultArch }
func GetInstancesResponseInstancesVoResultArchEnum ¶
func GetInstancesResponseInstancesVoResultArchEnum() InstancesResponseInstancesVoResultArchEnum
type InstancesVo ¶
type InstancesVo struct { // cpu架构 x86|arm Arch *InstancesVoArch `json:"arch,omitempty"` Attributes *Attributes `json:"attributes,omitempty"` // cpu规格.arm架构支持4U8G,x86架构支持1U1G,2U4G,2U8G 与技术栈配置的规格对应,可通过技术栈管理ListStacks接口获取。如果标签不为空,以标签配置的技术栈规格为准。 quantum技术栈,x86架构cpu规格为2U8G;其他技术栈,x86架构cpu规格为1U1G,2U4G CpuMemory *InstancesVoCpuMemory `json:"cpu_memory,omitempty"` // 创建时间 CreatedTime *string `json:"created_time,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 实例名。 可以输入中文、数字、字母、下划线、点、破折号。长度介于3-100之间 DisplayName *string `json:"display_name,omitempty"` // 租户名 DomainName *string `json:"domain_name,omitempty"` // id Id *string `json:"id,omitempty"` // 是否页面显示(以标签配置为准) IsTemporary *bool `json:"is_temporary,omitempty"` // 标签 Label *string `json:"label,omitempty"` // 链接 Link *string `json:"link,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 租户id(对应华为云帐号的domainId) OrganizationId *string `json:"organization_id,omitempty"` // 用户id OwnerId *string `json:"owner_id,omitempty"` // 用户名 OwnerName *string `json:"owner_name,omitempty"` // 平台ID PlatformId *int64 `json:"platform_id,omitempty"` // 是否私有平台 Private *bool `json:"private,omitempty"` // PVC规格 5GB|10GB|20GB PvcQuantity *InstancesVoPvcQuantity `json:"pvc_quantity,omitempty"` // 自动休眠时长。 arm架构,自动休眠时长只能设置成30,60。x86架构可取值为30,60,240,1440和-1。除-1外,其它值的单位为“分钟”。实例无操作超过自动休眠时长后,将会被暂停(已保存的数据不会被删除)。-1表示实例不会自动停止 RefreshInterval *int64 `json:"refresh_interval,omitempty"` // 区域 Region *string `json:"region,omitempty"` // server ServerMap map[string]string `json:"server_map,omitempty"` // 服务链接 ServerUrl *string `json:"server_url,omitempty"` // 技术栈ID,通过技术栈管理ListStacks接口获取。 StackId *string `json:"stack_id,omitempty"` // 实例状态 。 - INIT 初始化 - STARTING 启动中 - RUNNING 运行中 - STOPPING 停止中 - STOPPED 已停止 - DELETING 删除中 - DELETED 已删除 - DELETE_FAILED 删除失败 Status *InstancesVoStatus `json:"status,omitempty"` // 更新时间 UpdatedTime *string `json:"updated_time,omitempty"` // 访问者id VisitorId *string `json:"visitor_id,omitempty"` // 访问者名称 VisitorName *string `json:"visitor_name,omitempty"` // 访问者租户名称 VisitorDomainName *string `json:"visitor_domain_name,omitempty"` }
func (InstancesVo) String ¶
func (o InstancesVo) String() string
type InstancesVoArch ¶
type InstancesVoArch struct {
// contains filtered or unexported fields
}
func (InstancesVoArch) MarshalJSON ¶
func (c InstancesVoArch) MarshalJSON() ([]byte, error)
func (*InstancesVoArch) UnmarshalJSON ¶
func (c *InstancesVoArch) UnmarshalJSON(b []byte) error
type InstancesVoArchEnum ¶
type InstancesVoArchEnum struct { X86 InstancesVoArch ARM InstancesVoArch }
func GetInstancesVoArchEnum ¶
func GetInstancesVoArchEnum() InstancesVoArchEnum
type InstancesVoCpuMemory ¶
type InstancesVoCpuMemory struct {
// contains filtered or unexported fields
}
func (InstancesVoCpuMemory) MarshalJSON ¶
func (c InstancesVoCpuMemory) MarshalJSON() ([]byte, error)
func (*InstancesVoCpuMemory) UnmarshalJSON ¶
func (c *InstancesVoCpuMemory) UnmarshalJSON(b []byte) error
type InstancesVoCpuMemoryEnum ¶
type InstancesVoCpuMemoryEnum struct { E_1_U1_G InstancesVoCpuMemory E_2_U4_G InstancesVoCpuMemory E_2_U8_G InstancesVoCpuMemory E_4_U8_G InstancesVoCpuMemory }
func GetInstancesVoCpuMemoryEnum ¶
func GetInstancesVoCpuMemoryEnum() InstancesVoCpuMemoryEnum
type InstancesVoPvcQuantity ¶
type InstancesVoPvcQuantity struct {
// contains filtered or unexported fields
}
func (InstancesVoPvcQuantity) MarshalJSON ¶
func (c InstancesVoPvcQuantity) MarshalJSON() ([]byte, error)
func (*InstancesVoPvcQuantity) UnmarshalJSON ¶
func (c *InstancesVoPvcQuantity) UnmarshalJSON(b []byte) error
type InstancesVoPvcQuantityEnum ¶
type InstancesVoPvcQuantityEnum struct { E_5_GB InstancesVoPvcQuantity E_10_GB InstancesVoPvcQuantity E_20_GB InstancesVoPvcQuantity }
func GetInstancesVoPvcQuantityEnum ¶
func GetInstancesVoPvcQuantityEnum() InstancesVoPvcQuantityEnum
type InstancesVoStatus ¶
type InstancesVoStatus struct {
// contains filtered or unexported fields
}
func (InstancesVoStatus) MarshalJSON ¶
func (c InstancesVoStatus) MarshalJSON() ([]byte, error)
func (*InstancesVoStatus) UnmarshalJSON ¶
func (c *InstancesVoStatus) UnmarshalJSON(b []byte) error
type InstancesVoStatusEnum ¶
type InstancesVoStatusEnum struct { INIT InstancesVoStatus STARTING InstancesVoStatus RUNNING InstancesVoStatus STOPPING InstancesVoStatus STOPPED InstancesVoStatus DELETING InstancesVoStatus DELETED InstancesVoStatus DELETE_FAILED InstancesVoStatus }
func GetInstancesVoStatusEnum ¶
func GetInstancesVoStatusEnum() InstancesVoStatusEnum
type ListInstancesRequest ¶
type ListInstancesRequest struct { // 每页显示的条目数量 10/15/30 Limit *int64 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询 Offset *int64 `json:"offset,omitempty"` // 是否页面显示(以标签配置为准) IsTemporary *bool `json:"is_temporary,omitempty"` // 标签 Label *string `json:"label,omitempty"` // 关键字查询(根据实例名,描述模糊查询) Search *string `json:"search,omitempty"` // 排序方式 asc/desc SortDir *string `json:"sort_dir,omitempty"` // 排序字段。 display_name 实例名、status状态、pvc_quantity 存储容量、created_time 创建时间、stack_id 技术栈 SortKey *string `json:"sort_key,omitempty"` }
Request Object
func (ListInstancesRequest) String ¶
func (o ListInstancesRequest) String() string
type ListInstancesResponse ¶
type ListInstancesResponse struct { Instances *PageInstancesVo `json:"instances,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListInstancesResponse) String ¶
func (o ListInstancesResponse) String() string
type ListOrgInstancesRequest ¶
type ListOrgInstancesRequest struct { // 是否页面显示(以标签配置为准) IsTemporary *bool `json:"is_temporary,omitempty"` // 每页显示的条目数量 10/15/30 Limit *int64 `json:"limit,omitempty"` // 偏移量,表示从此偏移量开始查询 Offset *int64 `json:"offset,omitempty"` // 租户id(对应华为云帐号的domainId) OrgId string `json:"org_id"` // 关键字查询(根据实例名,描述模糊查询) Search *string `json:"search,omitempty"` }
Request Object
func (ListOrgInstancesRequest) String ¶
func (o ListOrgInstancesRequest) String() string
type ListOrgInstancesResponse ¶
type ListOrgInstancesResponse struct { Instances *PageInstancesVo `json:"instances,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListOrgInstancesResponse) String ¶
func (o ListOrgInstancesResponse) String() string
type ListProjectTemplatesRequest ¶
type ListProjectTemplatesRequest struct { // cpu架构 x86|arm Arch *string `json:"arch,omitempty"` // 技术栈ID,通过技术栈管理ListStacks接口获取。 StackId string `json:"stack_id"` }
Request Object
func (ListProjectTemplatesRequest) String ¶
func (o ListProjectTemplatesRequest) String() string
type ListProjectTemplatesResponse ¶
type ListProjectTemplatesResponse struct { // 模板列表 Templates *[]ProjectTemplates `json:"templates,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectTemplatesResponse) String ¶
func (o ListProjectTemplatesResponse) String() string
type ListStacksRequest ¶ added in v0.0.74
type ListStacksRequest struct { // 技术栈标签。默认为空值,查询全部。 例如:Java,CPP,GO,Python;可查询多个标签 Tags *string `json:"tags,omitempty"` }
Request Object
func (ListStacksRequest) String ¶ added in v0.0.74
func (o ListStacksRequest) String() string
type ListStacksResponse ¶ added in v0.0.74
type ListStacksResponse struct { Stack *StacksTags `json:"stack,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListStacksResponse) String ¶ added in v0.0.74
func (o ListStacksResponse) String() string
type PageInstancesVo ¶
type PageInstancesVo struct { // 是否为空 Empty *bool `json:"empty,omitempty"` // 列表详情 Items *[]InstancesVo `json:"items,omitempty"` // 偏移量,表示从此偏移量开始查询 ItemsBefore *int64 `json:"items_before,omitempty"` // 每页显示的条目数量 Size *int64 `json:"size,omitempty"` // 总数 TotalItemsCount *int64 `json:"total_items_count,omitempty"` }
func (PageInstancesVo) String ¶
func (o PageInstancesVo) String() string
type Plugin ¶
type ProjectTemplates ¶
type ProjectTemplates struct { // 描述 Description *string `json:"description,omitempty"` // 显示名 DisplayName *string `json:"display_name,omitempty"` // 图标 Logo *string `json:"logo,omitempty"` // 模板名 Name *string `json:"name,omitempty"` // 路径 Path *string `json:"path,omitempty"` // 项目类型 ProjectType *string `json:"project_type,omitempty"` // 区域 Region *string `json:"region,omitempty"` Source *SourceStorage `json:"source,omitempty"` // tags Tags *[]string `json:"tags,omitempty"` // 模板id TemplateId *int64 `json:"template_id,omitempty"` }
func (ProjectTemplates) String ¶
func (o ProjectTemplates) String() string
type Recipe ¶
type ResourcePrice ¶
type ResourcePrice struct { // cpu架构 x86|arm Arch *ResourcePriceArch `json:"arch,omitempty"` // 价格 Price *float32 `json:"price,omitempty"` // 规格。 类型为'storage'时,size值可以为5GB,10GB,20GB。 类型为'cpuMemory'时,arch为'x86',size值可以为1U1G,2U4G,4U8G;arch为'arm',size值可以为4U8G。 Size *string `json:"size,omitempty"` // 类型。目前可以取值storage,cpuMemory Type *string `json:"type,omitempty"` }
func (ResourcePrice) String ¶
func (o ResourcePrice) String() string
type ResourcePriceArch ¶
type ResourcePriceArch struct {
// contains filtered or unexported fields
}
func (ResourcePriceArch) MarshalJSON ¶
func (c ResourcePriceArch) MarshalJSON() ([]byte, error)
func (*ResourcePriceArch) UnmarshalJSON ¶
func (c *ResourcePriceArch) UnmarshalJSON(b []byte) error
type ResourcePriceArchEnum ¶
type ResourcePriceArchEnum struct { X86 ResourcePriceArch ARM ResourcePriceArch }
func GetResourcePriceArchEnum ¶
func GetResourcePriceArchEnum() ResourcePriceArchEnum
type ShowAccountStatusRequest ¶
type ShowAccountStatusRequest struct { }
Request Object
func (ShowAccountStatusRequest) String ¶
func (o ShowAccountStatusRequest) String() string
type ShowAccountStatusResponse ¶
type ShowAccountStatusResponse struct { Result *AccountStatus `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowAccountStatusResponse) String ¶
func (o ShowAccountStatusResponse) String() string
type ShowExtensionAuthorizationRequest ¶ added in v0.0.71
type ShowExtensionAuthorizationRequest struct { // 插件版本 ExtensionVersion string `json:"extension_version"` // 插件标识(发布者.插件名) Identifier string `json:"identifier"` // CloudIDE实例ID InstanceId string `json:"instance_id"` }
Request Object
func (ShowExtensionAuthorizationRequest) String ¶ added in v0.0.71
func (o ShowExtensionAuthorizationRequest) String() string
type ShowExtensionAuthorizationResponse ¶ added in v0.0.71
type ShowExtensionAuthorizationResponse struct { // 返回值 Result *interface{} `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowExtensionAuthorizationResponse) String ¶ added in v0.0.71
func (o ShowExtensionAuthorizationResponse) String() string
type ShowInstanceRequest ¶
type ShowInstanceRequest struct { // 实例id InstanceId string `json:"instance_id"` }
Request Object
func (ShowInstanceRequest) String ¶
func (o ShowInstanceRequest) String() string
type ShowInstanceResponse ¶
type ShowInstanceResponse struct { Instance *InstancesVo `json:"instance,omitempty"` // 状态 Status *string `json:"status,omitempty"` // 静态资源链接 BundleUrl *string `json:"bundle_url,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowInstanceResponse) String ¶
func (o ShowInstanceResponse) String() string
type ShowPriceRequest ¶
type ShowPriceRequest struct { }
Request Object
func (ShowPriceRequest) String ¶
func (o ShowPriceRequest) String() string
type ShowPriceResponse ¶
type ShowPriceResponse struct { // 技术栈价格列表 Prices *[]ResourcePrice `json:"prices,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowPriceResponse) String ¶
func (o ShowPriceResponse) String() string
type SourceStorage ¶
type SourceStorage struct { // 位置 Location *string `json:"location,omitempty"` // 参数值 Parameters map[string]string `json:"parameters,omitempty"` // 类型 Type *string `json:"type,omitempty"` }
func (SourceStorage) String ¶
func (o SourceStorage) String() string
type StackInfo ¶ added in v0.0.74
type StackInfo struct { ArmConfig *StacksConfig `json:"arm_config,omitempty"` // bundleUrl BundleUrl *string `json:"bundle_url,omitempty"` Config *StacksConfig `json:"config,omitempty"` // 创建时间 CreatedTime *sdktime.SdkTime `json:"created_time,omitempty"` // 是否删除 Delete *bool `json:"delete,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 是否可用 Disable *bool `json:"disable,omitempty"` // 显示名称 DisplayName *string `json:"display_name,omitempty"` // id Id *int64 `json:"id,omitempty"` // 标签 Label *string `json:"label,omitempty"` // 图标 Logo *string `json:"logo,omitempty"` // region Region *string `json:"region,omitempty"` // 是否显示 Show *bool `json:"show,omitempty"` // 技术栈名称 StackName *string `json:"stack_name,omitempty"` // tags Tags *[]string `json:"tags,omitempty"` // 修改时间 UpdatedTime *sdktime.SdkTime `json:"updated_time,omitempty"` // 使用者 Users *[]string `json:"users,omitempty"` }
type StacksAttribute ¶
type StacksAttribute struct { // 规格列表 Specs *[]string `json:"specs,omitempty"` // 提示id Suggest *string `json:"suggest,omitempty"` // 提示信息 SuggestTitle *string `json:"suggest_title,omitempty"` // 卷容量列表 Volumes *[]string `json:"volumes,omitempty"` }
func (StacksAttribute) String ¶
func (o StacksAttribute) String() string
type StacksConfig ¶
type StacksConfig struct { Attributes *StacksAttribute `json:"attributes,omitempty"` Recipe *Recipe `json:"recipe,omitempty"` }
func (StacksConfig) String ¶
func (o StacksConfig) String() string
type StacksTags ¶ added in v0.0.74
type StacksTags struct { // 技术栈列表 StackList *[]StackInfo `json:"stack_list,omitempty"` // 技术栈tag集合 Tags *[]string `json:"tags,omitempty"` }
func (StacksTags) String ¶ added in v0.0.74
func (o StacksTags) String() string
type StartInstanceParam ¶
type StartInstanceParam struct { // 插件列表 PluginEnableList *[]string `json:"plugin_enable_list,omitempty"` // 插件参数 PluginVars map[string]string `json:"plugin_vars,omitempty"` }
func (StartInstanceParam) String ¶
func (o StartInstanceParam) String() string
type StartInstanceRequest ¶
type StartInstanceRequest struct { // 实例id InstanceId string `json:"instance_id"` Body *StartInstanceParam `json:"body,omitempty"` }
Request Object
func (StartInstanceRequest) String ¶
func (o StartInstanceRequest) String() string
type StartInstanceResponse ¶
type StartInstanceResponse struct { // 返回值 Result *string `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (StartInstanceResponse) String ¶
func (o StartInstanceResponse) String() string
type StopInstanceRequest ¶
type StopInstanceRequest struct { // 实例id InstanceId string `json:"instance_id"` }
Request Object
func (StopInstanceRequest) String ¶
func (o StopInstanceRequest) String() string
type StopInstanceResponse ¶
type StopInstanceResponse struct { // 返回值 Result *bool `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (StopInstanceResponse) String ¶
func (o StopInstanceResponse) String() string
type UpdateInstanceActivityRequest ¶ added in v0.0.71
type UpdateInstanceActivityRequest struct { // CloudIDE实例id InstanceId string `json:"instance_id"` }
Request Object
func (UpdateInstanceActivityRequest) String ¶ added in v0.0.71
func (o UpdateInstanceActivityRequest) String() string
type UpdateInstanceActivityResponse ¶ added in v0.0.71
type UpdateInstanceActivityResponse struct { Result *ExpireVo `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateInstanceActivityResponse) String ¶ added in v0.0.71
func (o UpdateInstanceActivityResponse) String() string
type UpdateInstanceRequest ¶
type UpdateInstanceRequest struct { // 实例id InstanceId string `json:"instance_id"` Body *InstanceUpdateParam `json:"body,omitempty"` }
Request Object
func (UpdateInstanceRequest) String ¶
func (o UpdateInstanceRequest) String() string
type UpdateInstanceResponse ¶
type UpdateInstanceResponse struct { // 返回值 Result *bool `json:"result,omitempty"` // 状态 Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateInstanceResponse) String ¶
func (o UpdateInstanceResponse) String() string
Source Files ¶
- model_account_status.go
- model_attributes.go
- model_check_instance_access_request.go
- model_check_instance_access_response.go
- model_check_name_request.go
- model_check_name_response.go
- model_create_extension_authorization_request.go
- model_create_extension_authorization_response.go
- model_create_instance_by3rd_request.go
- model_create_instance_by3rd_response.go
- model_create_instance_request.go
- model_create_instance_response.go
- model_delete_instance_request.go
- model_delete_instance_response.go
- model_expire_vo.go
- model_extension_authorization.go
- model_instance_edge_param.go
- model_instance_param.go
- model_instance_update_param.go
- model_instances_response_instances_vo_result.go
- model_instances_vo.go
- model_list_instances_request.go
- model_list_instances_response.go
- model_list_org_instances_request.go
- model_list_org_instances_response.go
- model_list_project_templates_request.go
- model_list_project_templates_response.go
- model_list_stacks_request.go
- model_list_stacks_response.go
- model_page_instances_vo.go
- model_plugin.go
- model_project_templates.go
- model_recipe.go
- model_resource_price.go
- model_show_account_status_request.go
- model_show_account_status_response.go
- model_show_extension_authorization_request.go
- model_show_extension_authorization_response.go
- model_show_instance_request.go
- model_show_instance_response.go
- model_show_price_request.go
- model_show_price_response.go
- model_source_storage.go
- model_stack_info.go
- model_stacks_attribute.go
- model_stacks_config.go
- model_stacks_tags.go
- model_start_instance_param.go
- model_start_instance_request.go
- model_start_instance_response.go
- model_stop_instance_request.go
- model_stop_instance_response.go
- model_update_instance_activity_request.go
- model_update_instance_activity_response.go
- model_update_instance_request.go
- model_update_instance_response.go
Click to show internal directories.
Click to hide internal directories.