Documentation ¶
Index ¶
- type AccountStatus
- type Attributes
- type CheckNameRequest
- type CheckNameResponse
- type CreateInstanceBy3rdRequest
- type CreateInstanceBy3rdResponse
- type CreateInstanceRequest
- type CreateInstanceResponse
- type DeleteInstanceRequest
- type DeleteInstanceResponse
- 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 ListStacksByTagRequest
- type ListStacksByTagResponse
- type PageInstancesVo
- type Plugin
- type ProjectTemplates
- type Recipe
- type ResourcePrice
- type ResourcePriceArch
- type ResourcePriceArchEnum
- type Role
- type RoleAction
- type RoleActionActions
- type RoleActionActionsEnum
- type ShowAccountStatusRequest
- type ShowAccountStatusResponse
- type ShowInstanceRequest
- type ShowInstanceResponse
- type ShowPriceRequest
- type ShowPriceResponse
- type SourceStorage
- type Stacks
- type StacksAttribute
- type StacksConfig
- type StacksTag
- type StartInstanceParam
- type StartInstanceRequest
- type StartInstanceResponse
- type StopInstanceRequest
- type StopInstanceResponse
- 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 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 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 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 { ActionList *[]RoleAction `json:"action_list,omitempty"` 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"` Role *Role `json:"role,omitempty"` RoleId *string `json:"role_id,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"` SubOrg *string `json:"sub_org,omitempty"` UpdatedTime *string `json:"updated_time,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 ListStacksByTagRequest ¶
type ListStacksByTagRequest struct {
Tags *[]string `json:"tags,omitempty"`
}
Request Object
func (ListStacksByTagRequest) String ¶
func (o ListStacksByTagRequest) String() string
type ListStacksByTagResponse ¶
type ListStacksByTagResponse struct { Stack *StacksTag `json:"stack,omitempty"` Status *string `json:"status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListStacksByTagResponse) String ¶
func (o ListStacksByTagResponse) 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 Role ¶
type Role struct { CRole *string `json:"c_role,omitempty"` Id *string `json:"id,omitempty"` Role *string `json:"role,omitempty"` RoleActionses *[]RoleAction `json:"role_actionses,omitempty"` }
type RoleAction ¶
type RoleAction struct { ActionCname *string `json:"action_cname,omitempty"` Actions *RoleActionActions `json:"actions,omitempty"` Id *string `json:"id,omitempty"` RoleId *string `json:"role_id,omitempty"` }
func (RoleAction) String ¶
func (o RoleAction) String() string
type RoleActionActions ¶
type RoleActionActions struct {
// contains filtered or unexported fields
}
func (RoleActionActions) MarshalJSON ¶
func (c RoleActionActions) MarshalJSON() ([]byte, error)
func (*RoleActionActions) UnmarshalJSON ¶
func (c *RoleActionActions) UnmarshalJSON(b []byte) error
type RoleActionActionsEnum ¶
type RoleActionActionsEnum struct { CREATE_INSTANCE RoleActionActions DELETE_INSTANCE RoleActionActions UPDATE_INSTANCE RoleActionActions QUERY_INSTANCE RoleActionActions RUN_INSTANCE RoleActionActions CREATE_SUB_ORG RoleActionActions UPDATE_SUB_ORG RoleActionActions DELETE_SUB_ORG RoleActionActions QUERY_SUB_ORG RoleActionActions ADD_USER_TO_ORG RoleActionActions SET_USER_ROLES RoleActionActions DELETE_USER_IN_ORG RoleActionActions QUERY_USER_IN_ORG RoleActionActions }
func GetRoleActionActionsEnum ¶
func GetRoleActionActionsEnum() RoleActionActionsEnum
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 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"` 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 Stacks ¶
type Stacks struct { ArmConfig *StacksConfig `json:"arm_config,omitempty"` Config *StacksConfig `json:"config,omitempty"` Creator *string `json:"creator,omitempty"` Description *string `json:"description,omitempty"` Disable *bool `json:"disable,omitempty"` Id *int64 `json:"id,omitempty"` Label *string `json:"label,omitempty"` Logo *string `json:"logo,omitempty"` Name *string `json:"name,omitempty"` Scope *string `json:"scope,omitempty"` StackId *string `json:"stack_id,omitempty"` Tags *[]string `json:"tags,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 StacksTag ¶
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 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_name_request.go
- model_check_name_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_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_by_tag_request.go
- model_list_stacks_by_tag_response.go
- model_page_instances_vo.go
- model_plugin.go
- model_project_templates.go
- model_recipe.go
- model_resource_price.go
- model_role.go
- model_role_action.go
- model_show_account_status_request.go
- model_show_account_status_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_stacks.go
- model_stacks_attribute.go
- model_stacks_config.go
- model_stacks_tag.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_request.go
- model_update_instance_response.go
Click to show internal directories.
Click to hide internal directories.