model

package
v0.0.54 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

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

type CreateInstanceBy3rdResponse

type CreateInstanceBy3rdResponse struct {
	Result *InstancesResponseInstancesVoResult `json:"result,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateInstanceBy3rdResponse) 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

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 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

type ListProjectTemplatesResponse

type ListProjectTemplatesResponse struct {
	Templates *[]ProjectTemplates `json:"templates,omitempty"`

	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListProjectTemplatesResponse) 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 Plugin struct {
	Attribute *string `json:"attribute,omitempty"`

	Name *string `json:"name,omitempty"`
}

func (Plugin) String

func (o Plugin) String() string

type ProjectTemplates

type ProjectTemplates struct {
	Description *string `json:"description,omitempty"`

	DisplayName *string `json:"display_name,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 Recipe struct {
	Content *string `json:"content,omitempty"`

	Type *string `json:"type,omitempty"`
}

func (Recipe) String

func (o Recipe) String() string

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"`
}

func (Role) String

func (o Role) String() string

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"`


	Name *string `json:"name,omitempty"`

	Scope *string `json:"scope,omitempty"`

	StackId *string `json:"stack_id,omitempty"`

	Tags *[]string `json:"tags,omitempty"`
}

func (Stacks) String

func (o Stacks) String() string

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 StacksTag struct {
	StackList *[]Stacks `json:"stack_list,omitempty"`

	Tags *[]string `json:"tags,omitempty"`
}

func (StacksTag) String

func (o StacksTag) 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 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL