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 { CpuLimit *string `json:"cpu_limit,omitempty"` MemoryLimitBytes *string `json:"memory_limit_bytes,omitempty"` PvcQuantity *string `json:"pvc_quantity,omitempty"` }
func (Attributes) String ¶
func (o Attributes) String() string
type CheckInstanceAccessRequest ¶ added in v0.0.71
type CheckInstanceAccessRequest struct {
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 {
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 { 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 { 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 { 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 {
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"` InstanceId *string `json:"instance_id,omitempty"` 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 { Arch *InstanceEdgeParamArch `json:"arch,omitempty"` CpuMemory InstanceEdgeParamCpuMemory `json:"cpu_memory"` Description *string `json:"description,omitempty"` InstanceName string `json:"instance_name"` InstanceUserDomainId *string `json:"instance_user_domain_id,omitempty"` InstanceUserDomainName string `json:"instance_user_domain_name"` InstanceUserId *string `json:"instance_user_id,omitempty"` InstanceUserName string `json:"instance_user_name"` IsTemporary *bool `json:"is_temporary,omitempty"` Plugins *[]Plugin `json:"plugins,omitempty"` PvcQuantity InstanceEdgeParamPvcQuantity `json:"pvc_quantity"` RefreshTime *string `json:"refresh_time,omitempty"` 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 { AgentId *string `json:"agent_id,omitempty"` Arch *InstanceParamArch `json:"arch,omitempty"` CpuMemory InstanceParamCpuMemory `json:"cpu_memory"` Description *string `json:"description,omitempty"` DisplayName string `json:"display_name"` IsTemporary *bool `json:"is_temporary,omitempty"` LabelTag *string `json:"label_tag,omitempty"` PluginEnableList *[]string `json:"plugin_enable_list,omitempty"` PluginVars map[string]string `json:"plugin_vars,omitempty"` PortId *string `json:"port_id,omitempty"` PrivateIp *string `json:"private_ip,omitempty"` PvcQuantity InstanceParamPvcQuantity `json:"pvc_quantity"` RefreshInterval string `json:"refresh_interval"` RepositoryId *int64 `json:"repository_id,omitempty"` StackId string `json:"stack_id"` TaskType *string `json:"task_type,omitempty"` Token *string `json:"token,omitempty"` VpcId *string `json:"vpc_id,omitempty"` InstanceUserDomainName *string `json:"instance_user_domain_name,omitempty"` InstanceUserName *string `json:"instance_user_name,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"` DisplayName string `json:"display_name"` RefreshInterval string `json:"refresh_interval"` }
func (InstanceUpdateParam) String ¶
func (o InstanceUpdateParam) String() string
type InstancesResponseInstancesVoResult ¶
type InstancesResponseInstancesVoResult struct { Link *string `json:"link,omitempty"` Arch *InstancesResponseInstancesVoResultArch `json:"arch,omitempty"` 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 { Arch *InstancesVoArch `json:"arch,omitempty"` Attributes *Attributes `json:"attributes,omitempty"` CpuMemory *InstancesVoCpuMemory `json:"cpu_memory,omitempty"` CreatedTime *string `json:"created_time,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"display_name,omitempty"` DomainName *string `json:"domain_name,omitempty"` 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"` OrganizationId *string `json:"organization_id,omitempty"` OwnerId *string `json:"owner_id,omitempty"` OwnerName *string `json:"owner_name,omitempty"` PlatformId *int64 `json:"platform_id,omitempty"` Private *bool `json:"private,omitempty"` PvcQuantity *InstancesVoPvcQuantity `json:"pvc_quantity,omitempty"` RefreshInterval *int64 `json:"refresh_interval,omitempty"` Region *string `json:"region,omitempty"` ServerMap map[string]string `json:"server_map,omitempty"` ServerUrl *string `json:"server_url,omitempty"` StackId *string `json:"stack_id,omitempty"` Status *InstancesVoStatus `json:"status,omitempty"` UpdatedTime *string `json:"updated_time,omitempty"` 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 { 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"` SortDir *string `json:"sort_dir,omitempty"` 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"` Limit *int64 `json:"limit,omitempty"` Offset *int64 `json:"offset,omitempty"` 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 { Arch *string `json:"arch,omitempty"` 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 {
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 *[]string `json:"tags,omitempty"` TemplateId *int64 `json:"template_id,omitempty"` }
func (ProjectTemplates) String ¶
func (o ProjectTemplates) String() string
type Recipe ¶
type ResourcePrice ¶
type ResourcePrice struct { Arch *ResourcePriceArch `json:"arch,omitempty"` Price *float32 `json:"price,omitempty"` Size *string `json:"size,omitempty"` 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"` 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 {
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 *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 *int64 `json:"id,omitempty"` Label *string `json:"label,omitempty"` Logo *string `json:"logo,omitempty"` Region *string `json:"region,omitempty"` Show *bool `json:"show,omitempty"` StackName *string `json:"stack_name,omitempty"` 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"` 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"` 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 { 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 {
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 {
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 { 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.