model

package
v0.0.37-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 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 BatchCreateOrDeleteInstanceTagRequest

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

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

Request Object

func (BatchCreateOrDeleteInstanceTagRequest) String

type BatchCreateOrDeleteInstanceTagResponse

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

Response Object

func (BatchCreateOrDeleteInstanceTagResponse) String

type BatchCreateOrDeleteTagReq

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

	Tags *[]CreateInstanceReqTags `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 *[]CreateInstanceReqTags `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 CreateInstanceReqTags

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

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

func (CreateInstanceReqTags) String

func (o CreateInstanceReqTags) String() string

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

	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 ListInstancesDetailsRequestEngine `json:"engine"`

	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 ListInstancesDetailsRequestEngine added in v0.1.91

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

func (ListInstancesDetailsRequestEngine) MarshalJSON added in v0.1.91

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

func (*ListInstancesDetailsRequestEngine) UnmarshalJSON added in v0.1.91

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

type ListInstancesDetailsRequestEngineEnum added in v0.1.91

type ListInstancesDetailsRequestEngineEnum struct {
	RABBITMQ ListInstancesDetailsRequestEngine
}

func GetListInstancesDetailsRequestEngineEnum added in v0.1.91

func GetListInstancesDetailsRequestEngineEnum() ListInstancesDetailsRequestEngineEnum

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 *[]ListInstancesRespInstances `json:"instances,omitempty"`

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

Response Object

func (ListInstancesDetailsResponse) String

type ListInstancesRespInstances

type ListInstancesRespInstances 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 *ListInstancesRespInstancesType `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"`

	ServiceType *string `json:"service_type,omitempty"`

	StorageType *string `json:"storage_type,omitempty"`

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

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

func (ListInstancesRespInstances) String

type ListInstancesRespInstancesType

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

func (ListInstancesRespInstancesType) MarshalJSON

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

func (*ListInstancesRespInstancesType) UnmarshalJSON

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

type ListInstancesRespInstancesTypeEnum

type ListInstancesRespInstancesTypeEnum struct {
	SINGLE  ListInstancesRespInstancesType
	CLUSTER ListInstancesRespInstancesType
}

func GetListInstancesRespInstancesTypeEnum

func GetListInstancesRespInstancesTypeEnum() ListInstancesRespInstancesTypeEnum

type ListPluginsRequest

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

Request Object

func (ListPluginsRequest) String

func (o ListPluginsRequest) String() string

type ListPluginsRespPlugins

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

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

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

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

插件信息。

func (ListPluginsRespPlugins) String

func (o ListPluginsRespPlugins) String() string

type ListPluginsResponse

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

Response Object

func (ListPluginsResponse) String

func (o ListPluginsResponse) String() string

type ListProductsRequest

type ListProductsRequest struct {
	Engine ListProductsRequestEngine `json:"engine"`
}

Request Object

func (ListProductsRequest) String

func (o ListProductsRequest) String() string

type ListProductsRequestEngine added in v0.1.49

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

func (ListProductsRequestEngine) MarshalJSON added in v0.1.49

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

func (*ListProductsRequestEngine) UnmarshalJSON added in v0.1.49

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

type ListProductsRequestEngineEnum added in v0.1.49

type ListProductsRequestEngineEnum struct {
	RABBITMQ ListProductsRequestEngine
}

func GetListProductsRequestEngineEnum added in v0.1.49

func GetListProductsRequestEngineEnum() ListProductsRequestEngineEnum

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

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

func (ResizeInstanceReqNewStorageSpace) MarshalJSON

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

func (*ResizeInstanceReqNewStorageSpace) UnmarshalJSON

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

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 ShowInstanceExtendProductInfoRequestEngine `json:"engine"`
}

Request Object

func (ShowInstanceExtendProductInfoRequest) String

type ShowInstanceExtendProductInfoRequestEngine added in v0.1.49

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

func (ShowInstanceExtendProductInfoRequestEngine) MarshalJSON added in v0.1.49

func (*ShowInstanceExtendProductInfoRequestEngine) UnmarshalJSON added in v0.1.49

type ShowInstanceExtendProductInfoRequestEngineEnum added in v0.1.49

type ShowInstanceExtendProductInfoRequestEngineEnum struct {
	RABBITMQ ShowInstanceExtendProductInfoRequestEngine
}

func GetShowInstanceExtendProductInfoRequestEngineEnum added in v0.1.49

func GetShowInstanceExtendProductInfoRequestEngineEnum() ShowInstanceExtendProductInfoRequestEngineEnum

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

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

Request Object

func (ShowInstanceTagsRequest) String

func (o ShowInstanceTagsRequest) String() string

type ShowInstanceTagsResponse

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

Response Object

func (ShowInstanceTagsResponse) String

func (o ShowInstanceTagsResponse) String() string

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 ShowProjectTagsRequest

type ShowProjectTagsRequest struct {
}

Request Object

func (ShowProjectTagsRequest) String

func (o ShowProjectTagsRequest) String() string

type ShowProjectTagsRespTags

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

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

func (ShowProjectTagsRespTags) String

func (o ShowProjectTagsRespTags) String() string

type ShowProjectTagsResponse

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

Response Object

func (ShowProjectTagsResponse) String

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