model

package
v0.0.67 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 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 BatchCreateOrDeleteRabbitMqTagRequest

type BatchCreateOrDeleteRabbitMqTagRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (BatchCreateOrDeleteRabbitMqTagRequest) String

type BatchCreateOrDeleteRabbitMqTagResponse

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

Response Object

func (BatchCreateOrDeleteRabbitMqTagResponse) String

type BatchCreateOrDeleteTagReq

type BatchCreateOrDeleteTagReq struct {
	Action *BatchCreateOrDeleteTagReqAction `json:"action,omitempty"`

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

func (BatchCreateOrDeleteTagReq) String

func (o BatchCreateOrDeleteTagReq) String() string

type BatchCreateOrDeleteTagReqAction

type BatchCreateOrDeleteTagReqAction struct {
	// contains filtered or unexported fields
}

func (BatchCreateOrDeleteTagReqAction) MarshalJSON

func (c BatchCreateOrDeleteTagReqAction) MarshalJSON() ([]byte, error)

func (*BatchCreateOrDeleteTagReqAction) UnmarshalJSON

func (c *BatchCreateOrDeleteTagReqAction) UnmarshalJSON(b []byte) error

type BatchCreateOrDeleteTagReqActionEnum

type BatchCreateOrDeleteTagReqActionEnum struct {
	CREATE BatchCreateOrDeleteTagReqAction
	DELETE BatchCreateOrDeleteTagReqAction
}

func GetBatchCreateOrDeleteTagReqActionEnum

func GetBatchCreateOrDeleteTagReqActionEnum() BatchCreateOrDeleteTagReqActionEnum

type BatchRestartOrDeleteInstanceReq

type BatchRestartOrDeleteInstanceReq struct {
	Instances *[]string `json:"instances,omitempty"`

	Action BatchRestartOrDeleteInstanceReqAction `json:"action"`

	AllFailure *BatchRestartOrDeleteInstanceReqAllFailure `json:"all_failure,omitempty"`
}

func (BatchRestartOrDeleteInstanceReq) String

type BatchRestartOrDeleteInstanceReqAction

type BatchRestartOrDeleteInstanceReqAction struct {
	// contains filtered or unexported fields
}

func (BatchRestartOrDeleteInstanceReqAction) MarshalJSON

func (c BatchRestartOrDeleteInstanceReqAction) MarshalJSON() ([]byte, error)

func (*BatchRestartOrDeleteInstanceReqAction) UnmarshalJSON

func (c *BatchRestartOrDeleteInstanceReqAction) UnmarshalJSON(b []byte) error

type BatchRestartOrDeleteInstanceReqActionEnum

type BatchRestartOrDeleteInstanceReqActionEnum struct {
	RESTART BatchRestartOrDeleteInstanceReqAction
	DELETE  BatchRestartOrDeleteInstanceReqAction
}

func GetBatchRestartOrDeleteInstanceReqActionEnum

func GetBatchRestartOrDeleteInstanceReqActionEnum() BatchRestartOrDeleteInstanceReqActionEnum

type BatchRestartOrDeleteInstanceReqAllFailure

type BatchRestartOrDeleteInstanceReqAllFailure struct {
	// contains filtered or unexported fields
}

func (BatchRestartOrDeleteInstanceReqAllFailure) MarshalJSON

func (*BatchRestartOrDeleteInstanceReqAllFailure) UnmarshalJSON

type BatchRestartOrDeleteInstanceRespResults

type BatchRestartOrDeleteInstanceRespResults struct {
	Result *string `json:"result,omitempty"`

	Instance *string `json:"instance,omitempty"`
}

func (BatchRestartOrDeleteInstanceRespResults) String

type BatchRestartOrDeleteInstancesRequest

type BatchRestartOrDeleteInstancesRequest struct {
	Body *BatchRestartOrDeleteInstanceReq `json:"body,omitempty"`
}

Request Object

func (BatchRestartOrDeleteInstancesRequest) String

type BatchRestartOrDeleteInstancesResponse

type BatchRestartOrDeleteInstancesResponse struct {
	Results        *[]BatchRestartOrDeleteInstanceRespResults `json:"results,omitempty"`
	HttpStatusCode int                                        `json:"-"`
}

Response Object

func (BatchRestartOrDeleteInstancesResponse) String

type CreateInstanceReq

type CreateInstanceReq struct {
	Name string `json:"name"`

	Description *string `json:"description,omitempty"`

	Engine CreateInstanceReqEngine `json:"engine"`

	EngineVersion CreateInstanceReqEngineVersion `json:"engine_version"`

	StorageSpace int32 `json:"storage_space"`

	AccessUser string `json:"access_user"`

	Password string `json:"password"`

	VpcId string `json:"vpc_id"`

	SecurityGroupId string `json:"security_group_id"`

	SubnetId string `json:"subnet_id"`

	AvailableZones []string `json:"available_zones"`

	ProductId string `json:"product_id"`

	MaintainBegin *string `json:"maintain_begin,omitempty"`

	MaintainEnd *string `json:"maintain_end,omitempty"`

	EnablePublicip *bool `json:"enable_publicip,omitempty"`

	PublicipId *string `json:"publicip_id,omitempty"`

	SslEnable *bool `json:"ssl_enable,omitempty"`

	StorageSpecCode CreateInstanceReqStorageSpecCode `json:"storage_spec_code"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

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

创建实例请求体。

func (CreateInstanceReq) String

func (o CreateInstanceReq) String() string

type CreateInstanceReqEngine

type CreateInstanceReqEngine struct {
	// contains filtered or unexported fields
}

func (CreateInstanceReqEngine) MarshalJSON

func (c CreateInstanceReqEngine) MarshalJSON() ([]byte, error)

func (*CreateInstanceReqEngine) UnmarshalJSON

func (c *CreateInstanceReqEngine) UnmarshalJSON(b []byte) error

type CreateInstanceReqEngineEnum

type CreateInstanceReqEngineEnum struct {
	RABBITMQ CreateInstanceReqEngine
}

func GetCreateInstanceReqEngineEnum

func GetCreateInstanceReqEngineEnum() CreateInstanceReqEngineEnum

type CreateInstanceReqEngineVersion

type CreateInstanceReqEngineVersion struct {
	// contains filtered or unexported fields
}

func (CreateInstanceReqEngineVersion) MarshalJSON

func (c CreateInstanceReqEngineVersion) MarshalJSON() ([]byte, error)

func (*CreateInstanceReqEngineVersion) UnmarshalJSON

func (c *CreateInstanceReqEngineVersion) UnmarshalJSON(b []byte) error

type CreateInstanceReqEngineVersionEnum

type CreateInstanceReqEngineVersionEnum struct {
	E_3_7_17 CreateInstanceReqEngineVersion
}

func GetCreateInstanceReqEngineVersionEnum

func GetCreateInstanceReqEngineVersionEnum() CreateInstanceReqEngineVersionEnum

type CreateInstanceReqStorageSpecCode

type CreateInstanceReqStorageSpecCode struct {
	// contains filtered or unexported fields
}

func (CreateInstanceReqStorageSpecCode) MarshalJSON

func (c CreateInstanceReqStorageSpecCode) MarshalJSON() ([]byte, error)

func (*CreateInstanceReqStorageSpecCode) UnmarshalJSON

func (c *CreateInstanceReqStorageSpecCode) UnmarshalJSON(b []byte) error

type CreateInstanceReqStorageSpecCodeEnum

type CreateInstanceReqStorageSpecCodeEnum struct {
	DMS_PHYSICAL_STORAGE_NORMAL CreateInstanceReqStorageSpecCode
	DMS_PHYSICAL_STORAGE_HIGH   CreateInstanceReqStorageSpecCode
	DMS_PHYSICAL_STORAGE_ULTRA  CreateInstanceReqStorageSpecCode
}

func GetCreateInstanceReqStorageSpecCodeEnum

func GetCreateInstanceReqStorageSpecCodeEnum() CreateInstanceReqStorageSpecCodeEnum

type CreatePostPaidInstanceRequest

type CreatePostPaidInstanceRequest struct {
	Body *CreateInstanceReq `json:"body,omitempty"`
}

Request Object

func (CreatePostPaidInstanceRequest) String

type CreatePostPaidInstanceResponse

type CreatePostPaidInstanceResponse struct {
	InstanceId     *string `json:"instance_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreatePostPaidInstanceResponse) String

type DeleteBackgroundTaskRequest

type DeleteBackgroundTaskRequest struct {
	InstanceId string `json:"instance_id"`

	TaskId string `json:"task_id"`
}

Request Object

func (DeleteBackgroundTaskRequest) String

type DeleteBackgroundTaskResponse

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

Response Object

func (DeleteBackgroundTaskResponse) 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 {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteInstanceResponse) String

func (o DeleteInstanceResponse) String() string

type ListAvailableZonesRequest

type ListAvailableZonesRequest struct {
}

Request Object

func (ListAvailableZonesRequest) String

func (o ListAvailableZonesRequest) String() string

type ListAvailableZonesRespAvailableZones

type ListAvailableZonesRespAvailableZones struct {
	SoldOut *bool `json:"soldOut,omitempty"`

	Id *string `json:"id,omitempty"`

	Code *string `json:"code,omitempty"`

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

	Port *string `json:"port,omitempty"`

	ResourceAvailability *string `json:"resource_availability,omitempty"`

	DefaultAz *bool `json:"default_az,omitempty"`

	RemainTime *int64 `json:"remain_time,omitempty"`

	Ipv6Enable *bool `json:"ipv6_enable,omitempty"`
}

func (ListAvailableZonesRespAvailableZones) String

type ListAvailableZonesResponse

type ListAvailableZonesResponse struct {
	RegionId *string `json:"region_id,omitempty"`

	AvailableZones *[]ListAvailableZonesRespAvailableZones `json:"available_zones,omitempty"`
	HttpStatusCode int                                     `json:"-"`
}

Response Object

func (ListAvailableZonesResponse) String

type ListBackgroundTasksRequest

type ListBackgroundTasksRequest struct {
	InstanceId string `json:"instance_id"`

	Start *int32 `json:"start,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	BeginTime *string `json:"begin_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`
}

Request Object

func (ListBackgroundTasksRequest) String

type ListBackgroundTasksRespTasks

type ListBackgroundTasksRespTasks struct {
	Id *string `json:"id,omitempty"`

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

	UserName *string `json:"user_name,omitempty"`

	UserId *string `json:"user_id,omitempty"`

	Params *string `json:"params,omitempty"`

	Status *string `json:"status,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`
}

func (ListBackgroundTasksRespTasks) String

type ListBackgroundTasksResponse

type ListBackgroundTasksResponse struct {
	TaskCount *string `json:"task_count,omitempty"`

	Tasks          *[]ListBackgroundTasksRespTasks `json:"tasks,omitempty"`
	HttpStatusCode int                             `json:"-"`
}

Response Object

func (ListBackgroundTasksResponse) String

type ListInstancesDetailsRequest

type ListInstancesDetailsRequest struct {
	Engine *string `json:"engine,omitempty"`

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

	InstanceId *string `json:"instance_id,omitempty"`

	Status *ListInstancesDetailsRequestStatus `json:"status,omitempty"`

	IncludeFailure *ListInstancesDetailsRequestIncludeFailure `json:"include_failure,omitempty"`

	ExactMatchName *ListInstancesDetailsRequestExactMatchName `json:"exact_match_name,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

Request Object

func (ListInstancesDetailsRequest) String

type ListInstancesDetailsRequestExactMatchName

type ListInstancesDetailsRequestExactMatchName struct {
	// contains filtered or unexported fields
}

func (ListInstancesDetailsRequestExactMatchName) MarshalJSON

func (*ListInstancesDetailsRequestExactMatchName) UnmarshalJSON

type ListInstancesDetailsRequestIncludeFailure

type ListInstancesDetailsRequestIncludeFailure struct {
	// contains filtered or unexported fields
}

func (ListInstancesDetailsRequestIncludeFailure) MarshalJSON

func (*ListInstancesDetailsRequestIncludeFailure) UnmarshalJSON

type ListInstancesDetailsRequestStatus

type ListInstancesDetailsRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListInstancesDetailsRequestStatus) MarshalJSON

func (c ListInstancesDetailsRequestStatus) MarshalJSON() ([]byte, error)

func (*ListInstancesDetailsRequestStatus) UnmarshalJSON

func (c *ListInstancesDetailsRequestStatus) UnmarshalJSON(b []byte) error

type ListInstancesDetailsResponse

type ListInstancesDetailsResponse struct {
	Instances *[]ShowInstanceResp `json:"instances,omitempty"`

	InstanceNum    *int32 `json:"instance_num,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListInstancesDetailsResponse) String

type ListPluginsRequest

type ListPluginsRequest struct {
	InstanceId string `json:"instance_id"`
}

Request Object

func (ListPluginsRequest) String

func (o ListPluginsRequest) String() string

type ListPluginsResponse

type ListPluginsResponse struct {
	Plugins        *[]PluginEntity `json:"plugins,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListPluginsResponse) String

func (o ListPluginsResponse) String() string

type ListProductsRequest

type ListProductsRequest struct {
	Engine *string `json:"engine,omitempty"`
}

Request Object

func (ListProductsRequest) String

func (o ListProductsRequest) String() string

type ListProductsRespDetail

type ListProductsRespDetail struct {
	Storage *string `json:"storage,omitempty"`

	ProductId *string `json:"product_id,omitempty"`

	SpecCode *string `json:"spec_code,omitempty"`

	Io *[]ListProductsRespIo `json:"io,omitempty"`

	UnavailableZones *[]string `json:"unavailable_zones,omitempty"`

	AvailableZones *[]string `json:"available_zones,omitempty"`

	EcsFlavorId *string `json:"ecs_flavor_id,omitempty"`

	ArchType *string `json:"arch_type,omitempty"`
}

func (ListProductsRespDetail) String

func (o ListProductsRespDetail) String() string

type ListProductsRespHourly

type ListProductsRespHourly struct {
	Name *string `json:"name,omitempty"`

	Version *string `json:"version,omitempty"`

	Values *[]ListProductsRespValues `json:"values,omitempty"`
}

func (ListProductsRespHourly) String

func (o ListProductsRespHourly) String() string

type ListProductsRespIo

type ListProductsRespIo struct {
	IoType *string `json:"io_type,omitempty"`

	StorageSpecCode *string `json:"storage_spec_code,omitempty"`

	AvailableZones *[]string `json:"available_zones,omitempty"`

	UnavailableZones *[]string `json:"unavailable_zones,omitempty"`

	VolumeType *string `json:"volume_type,omitempty"`
}

func (ListProductsRespIo) String

func (o ListProductsRespIo) String() string

type ListProductsRespValues

type ListProductsRespValues struct {
	Detail *[]ListProductsRespDetail `json:"detail,omitempty"`

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

	UnavailableZones *[]string `json:"unavailable_zones,omitempty"`

	AvailableZones *[]string `json:"available_zones,omitempty"`
}

func (ListProductsRespValues) String

func (o ListProductsRespValues) String() string

type ListProductsResponse

type ListProductsResponse struct {
	Hourly *[]ListProductsRespHourly `json:"Hourly,omitempty"`

	Monthly        *[]ListProductsRespHourly `json:"Monthly,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ListProductsResponse) String

func (o ListProductsResponse) String() string

type MaintainWindowsEntity added in v0.0.48

type MaintainWindowsEntity struct {
	Default *bool `json:"default,omitempty"`

	End *string `json:"end,omitempty"`

	Begin *string `json:"begin,omitempty"`

	Seq *int32 `json:"seq,omitempty"`
}

func (MaintainWindowsEntity) String added in v0.0.48

func (o MaintainWindowsEntity) String() string

type PluginEntity added in v0.0.66

type PluginEntity struct {
	Running *bool `json:"running,omitempty"`

	Enable *bool `json:"enable,omitempty"`

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

	Version *string `json:"version,omitempty"`
}

插件信息。

func (PluginEntity) String added in v0.0.66

func (o PluginEntity) String() string

type ResetPasswordReq

type ResetPasswordReq struct {
	NewPassword *string `json:"new_password,omitempty"`
}

func (ResetPasswordReq) String

func (o ResetPasswordReq) String() string

type ResetPasswordRequest

type ResetPasswordRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (ResetPasswordRequest) String

func (o ResetPasswordRequest) String() string

type ResetPasswordResponse

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

Response Object

func (ResetPasswordResponse) String

func (o ResetPasswordResponse) String() string

type ResizeInstanceReq

type ResizeInstanceReq struct {
	NewSpecCode ResizeInstanceReqNewSpecCode `json:"new_spec_code"`

	NewStorageSpace int32 `json:"new_storage_space"`
}

func (ResizeInstanceReq) String

func (o ResizeInstanceReq) String() string

type ResizeInstanceReqNewSpecCode

type ResizeInstanceReqNewSpecCode struct {
	// contains filtered or unexported fields
}

func (ResizeInstanceReqNewSpecCode) MarshalJSON

func (c ResizeInstanceReqNewSpecCode) MarshalJSON() ([]byte, error)

func (*ResizeInstanceReqNewSpecCode) UnmarshalJSON

func (c *ResizeInstanceReqNewSpecCode) UnmarshalJSON(b []byte) error

type ResizeInstanceReqNewSpecCodeEnum

type ResizeInstanceReqNewSpecCodeEnum struct {
	DMS_INSTANCE_RABBITMQ_CLUSTER_C3_4U8G_3 ResizeInstanceReqNewSpecCode
	DMS_INSTANCE_RABBITMQ_CLUSTER_C3_4U8G_5 ResizeInstanceReqNewSpecCode
	DMS_INSTANCE_RABBITMQ_CLUSTER_C3_4U8G_7 ResizeInstanceReqNewSpecCode
}

func GetResizeInstanceReqNewSpecCodeEnum

func GetResizeInstanceReqNewSpecCodeEnum() ResizeInstanceReqNewSpecCodeEnum

type ResizeInstanceRequest

type ResizeInstanceRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (ResizeInstanceRequest) String

func (o ResizeInstanceRequest) String() string

type ResizeInstanceResponse

type ResizeInstanceResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ResizeInstanceResponse) String

func (o ResizeInstanceResponse) String() string

type ShowBackgroundTaskRequest

type ShowBackgroundTaskRequest struct {
	InstanceId string `json:"instance_id"`

	TaskId string `json:"task_id"`
}

Request Object

func (ShowBackgroundTaskRequest) String

func (o ShowBackgroundTaskRequest) String() string

type ShowBackgroundTaskResponse

type ShowBackgroundTaskResponse struct {
	TaskCount *string `json:"task_count,omitempty"`

	Tasks          *[]ListBackgroundTasksRespTasks `json:"tasks,omitempty"`
	HttpStatusCode int                             `json:"-"`
}

Response Object

func (ShowBackgroundTaskResponse) String

type ShowInstanceExtendProductInfoRequest

type ShowInstanceExtendProductInfoRequest struct {
	InstanceId string `json:"instance_id"`

	Type ShowInstanceExtendProductInfoRequestType `json:"type"`

	Engine string `json:"engine"`
}

Request Object

func (ShowInstanceExtendProductInfoRequest) String

type ShowInstanceExtendProductInfoRequestType

type ShowInstanceExtendProductInfoRequestType struct {
	// contains filtered or unexported fields
}

func (ShowInstanceExtendProductInfoRequestType) MarshalJSON

func (*ShowInstanceExtendProductInfoRequestType) UnmarshalJSON

func (c *ShowInstanceExtendProductInfoRequestType) UnmarshalJSON(b []byte) error

type ShowInstanceExtendProductInfoResponse

type ShowInstanceExtendProductInfoResponse struct {
	Hourly *[]ListProductsRespHourly `json:"hourly,omitempty"`

	Monthly        *[]ListProductsRespHourly `json:"monthly,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (ShowInstanceExtendProductInfoResponse) String

type ShowInstanceRequest

type ShowInstanceRequest struct {
	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowInstanceRequest) String

func (o ShowInstanceRequest) String() string

type ShowInstanceResp added in v0.0.66

type ShowInstanceResp struct {
	Name *string `json:"name,omitempty"`

	Engine *string `json:"engine,omitempty"`

	EngineVersion *string `json:"engine_version,omitempty"`

	Specification *string `json:"specification,omitempty"`

	StorageSpace *int32 `json:"storage_space,omitempty"`

	UsedStorageSpace *int32 `json:"used_storage_space,omitempty"`

	ConnectAddress *string `json:"connect_address,omitempty"`

	Port *int32 `json:"port,omitempty"`

	Status *string `json:"status,omitempty"`

	Description *string `json:"description,omitempty"`

	InstanceId *string `json:"instance_id,omitempty"`

	ResourceSpecCode *string `json:"resource_spec_code,omitempty"`

	ChargingMode *int32 `json:"charging_mode,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	VpcName *string `json:"vpc_name,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UserId *string `json:"user_id,omitempty"`

	UserName *string `json:"user_name,omitempty"`

	OrderId *string `json:"order_id,omitempty"`

	MaintainBegin *string `json:"maintain_begin,omitempty"`

	MaintainEnd *string `json:"maintain_end,omitempty"`

	EnablePublicip *bool `json:"enable_publicip,omitempty"`

	PublicipAddress *string `json:"publicip_address,omitempty"`

	PublicipId *string `json:"publicip_id,omitempty"`

	ManagementConnectAddress *string `json:"management_connect_address,omitempty"`

	SslEnable *bool `json:"ssl_enable,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	IsLogicalVolume *bool `json:"is_logical_volume,omitempty"`

	ExtendTimes *int32 `json:"extend_times,omitempty"`

	Type *ShowInstanceRespType `json:"type,omitempty"`

	ProductId *string `json:"product_id,omitempty"`

	SecurityGroupId *string `json:"security_group_id,omitempty"`

	SecurityGroupName *string `json:"security_group_name,omitempty"`

	SubnetId *string `json:"subnet_id,omitempty"`

	AvailableZones *[]string `json:"available_zones,omitempty"`

	TotalStorageSpace *int32 `json:"total_storage_space,omitempty"`

	StorageResourceId *string `json:"storage_resource_id,omitempty"`

	StorageSpecCode *string `json:"storage_spec_code,omitempty"`

	Ipv6Enable *bool `json:"ipv6_enable,omitempty"`

	Ipv6ConnectAddresses *[]string `json:"ipv6_connect_addresses,omitempty"`

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

func (ShowInstanceResp) String added in v0.0.66

func (o ShowInstanceResp) String() string

type ShowInstanceRespType added in v0.0.66

type ShowInstanceRespType struct {
	// contains filtered or unexported fields
}

func (ShowInstanceRespType) MarshalJSON added in v0.0.66

func (c ShowInstanceRespType) MarshalJSON() ([]byte, error)

func (*ShowInstanceRespType) UnmarshalJSON added in v0.0.66

func (c *ShowInstanceRespType) UnmarshalJSON(b []byte) error

type ShowInstanceRespTypeEnum added in v0.0.66

type ShowInstanceRespTypeEnum struct {
	SINGLE  ShowInstanceRespType
	CLUSTER ShowInstanceRespType
}

func GetShowInstanceRespTypeEnum added in v0.0.66

func GetShowInstanceRespTypeEnum() ShowInstanceRespTypeEnum

type ShowInstanceResponse

type ShowInstanceResponse struct {
	Name *string `json:"name,omitempty"`

	Engine *string `json:"engine,omitempty"`

	EngineVersion *string `json:"engine_version,omitempty"`

	Specification *string `json:"specification,omitempty"`

	StorageSpace *int32 `json:"storage_space,omitempty"`

	UsedStorageSpace *int32 `json:"used_storage_space,omitempty"`

	ConnectAddress *string `json:"connect_address,omitempty"`

	Port *int32 `json:"port,omitempty"`

	Status *string `json:"status,omitempty"`

	Description *string `json:"description,omitempty"`

	InstanceId *string `json:"instance_id,omitempty"`

	ResourceSpecCode *string `json:"resource_spec_code,omitempty"`

	ChargingMode *int32 `json:"charging_mode,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	VpcName *string `json:"vpc_name,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UserId *string `json:"user_id,omitempty"`

	UserName *string `json:"user_name,omitempty"`

	OrderId *string `json:"order_id,omitempty"`

	MaintainBegin *string `json:"maintain_begin,omitempty"`

	MaintainEnd *string `json:"maintain_end,omitempty"`

	EnablePublicip *bool `json:"enable_publicip,omitempty"`

	PublicipAddress *string `json:"publicip_address,omitempty"`

	PublicipId *string `json:"publicip_id,omitempty"`

	ManagementConnectAddress *string `json:"management_connect_address,omitempty"`

	SslEnable *bool `json:"ssl_enable,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	IsLogicalVolume *bool `json:"is_logical_volume,omitempty"`

	ExtendTimes *int32 `json:"extend_times,omitempty"`

	Type *ShowInstanceResponseType `json:"type,omitempty"`

	ProductId *string `json:"product_id,omitempty"`

	SecurityGroupId *string `json:"security_group_id,omitempty"`

	SecurityGroupName *string `json:"security_group_name,omitempty"`

	SubnetId *string `json:"subnet_id,omitempty"`

	AvailableZones *[]string `json:"available_zones,omitempty"`

	TotalStorageSpace *int32 `json:"total_storage_space,omitempty"`

	StorageResourceId *string `json:"storage_resource_id,omitempty"`

	StorageSpecCode *string `json:"storage_spec_code,omitempty"`

	Ipv6Enable *bool `json:"ipv6_enable,omitempty"`

	Ipv6ConnectAddresses *[]string `json:"ipv6_connect_addresses,omitempty"`

	Tags           *[]TagEntity `json:"tags,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ShowInstanceResponse) String

func (o ShowInstanceResponse) String() string

type ShowInstanceResponseType

type ShowInstanceResponseType struct {
	// contains filtered or unexported fields
}

func (ShowInstanceResponseType) MarshalJSON

func (c ShowInstanceResponseType) MarshalJSON() ([]byte, error)

func (*ShowInstanceResponseType) UnmarshalJSON

func (c *ShowInstanceResponseType) UnmarshalJSON(b []byte) error

type ShowInstanceResponseTypeEnum

type ShowInstanceResponseTypeEnum struct {
	SINGLE  ShowInstanceResponseType
	CLUSTER ShowInstanceResponseType
}

func GetShowInstanceResponseTypeEnum

func GetShowInstanceResponseTypeEnum() ShowInstanceResponseTypeEnum

type ShowMaintainWindowsRequest

type ShowMaintainWindowsRequest struct {
}

Request Object

func (ShowMaintainWindowsRequest) String

type ShowMaintainWindowsResponse

type ShowMaintainWindowsResponse struct {
	MaintainWindows *[]MaintainWindowsEntity `json:"maintain_windows,omitempty"`
	HttpStatusCode  int                      `json:"-"`
}

Response Object

func (ShowMaintainWindowsResponse) String

type ShowRabbitMqProjectTagsRequest

type ShowRabbitMqProjectTagsRequest struct {
}

Request Object

func (ShowRabbitMqProjectTagsRequest) String

type ShowRabbitMqProjectTagsResponse

type ShowRabbitMqProjectTagsResponse struct {
	Tags           *[]TagMultyValueEntity `json:"tags,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ShowRabbitMqProjectTagsResponse) String

type ShowRabbitMqTagsRequest

type ShowRabbitMqTagsRequest struct {
	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowRabbitMqTagsRequest) String

func (o ShowRabbitMqTagsRequest) String() string

type ShowRabbitMqTagsResponse

type ShowRabbitMqTagsResponse struct {
	Tags           *[]TagEntity `json:"tags,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ShowRabbitMqTagsResponse) String

func (o ShowRabbitMqTagsResponse) String() string

type TagEntity added in v0.0.66

type TagEntity struct {
	Key *string `json:"key,omitempty"`

	Value *string `json:"value,omitempty"`
}

func (TagEntity) String added in v0.0.66

func (o TagEntity) String() string

type TagMultyValueEntity added in v0.0.66

type TagMultyValueEntity struct {
	Key *string `json:"key,omitempty"`

	Values *[]string `json:"values,omitempty"`
}

func (TagMultyValueEntity) String added in v0.0.66

func (o TagMultyValueEntity) String() string

type UpdateInstanceReq

type UpdateInstanceReq struct {
	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	MaintainBegin *string `json:"maintain_begin,omitempty"`

	MaintainEnd *string `json:"maintain_end,omitempty"`

	SecurityGroupId *string `json:"security_group_id,omitempty"`

	EnablePublicip *bool `json:"enable_publicip,omitempty"`

	PublicipId *string `json:"publicip_id,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

func (UpdateInstanceReq) String

func (o UpdateInstanceReq) String() string

type UpdateInstanceRequest

type UpdateInstanceRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (UpdateInstanceRequest) String

func (o UpdateInstanceRequest) String() string

type UpdateInstanceResponse

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

Response Object

func (UpdateInstanceResponse) String

func (o UpdateInstanceResponse) String() string

type UpdatePluginsReq

type UpdatePluginsReq struct {
	Enable *bool `json:"enable,omitempty"`

	Plugins *string `json:"plugins,omitempty"`
}

func (UpdatePluginsReq) String

func (o UpdatePluginsReq) String() string

type UpdatePluginsRequest

type UpdatePluginsRequest struct {
	InstanceId string `json:"instance_id"`

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

Request Object

func (UpdatePluginsRequest) String

func (o UpdatePluginsRequest) String() string

type UpdatePluginsResponse

type UpdatePluginsResponse struct {
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdatePluginsResponse) String

func (o UpdatePluginsResponse) String() string

Source Files

Jump to

Keyboard shortcuts

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