model

package
v0.0.73 Latest Latest
Warning

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

Go to latest
Published: Dec 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 AttrsObject

type AttrsObject struct {
	Capacity *string `json:"capacity,omitempty"`

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

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

func (AttrsObject) String

func (o AttrsObject) String() string

type AutoscanConfigRequest

type AutoscanConfigRequest struct {
	EnableAutoScan *bool `json:"enable_auto_scan,omitempty"`

	ScheduleAt *[]string `json:"schedule_at,omitempty"`
}

设置自动分析配置返回体

func (AutoscanConfigRequest) String

func (o AutoscanConfigRequest) String() string

type AvailableZones

type AvailableZones struct {
	Code *string `json:"code,omitempty"`

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

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

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

	ResourceAvailability *AvailableZonesResourceAvailability `json:"resource_availability,omitempty"`
}

可用分区结构体

func (AvailableZones) String

func (o AvailableZones) String() string

type AvailableZonesResourceAvailability

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

func (AvailableZonesResourceAvailability) MarshalJSON

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

func (*AvailableZonesResourceAvailability) UnmarshalJSON

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

type AvailableZonesResourceAvailabilityEnum

type AvailableZonesResourceAvailabilityEnum struct {
	TRUE  AvailableZonesResourceAvailability
	FALSE AvailableZonesResourceAvailability
}

func GetAvailableZonesResourceAvailabilityEnum

func GetAvailableZonesResourceAvailabilityEnum() AvailableZonesResourceAvailabilityEnum

type BackupFilesBody

type BackupFilesBody struct {
	FileSource *BackupFilesBodyFileSource `json:"file_source,omitempty"`

	BucketName string `json:"bucket_name"`

	Files []Files `json:"files"`

	BackupId *string `json:"backup_id,omitempty"`
}

备份文件列表的结构体

func (BackupFilesBody) String

func (o BackupFilesBody) String() string

type BackupFilesBodyFileSource

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

func (BackupFilesBodyFileSource) MarshalJSON

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

func (*BackupFilesBodyFileSource) UnmarshalJSON

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

type BackupFilesBodyFileSourceEnum

type BackupFilesBodyFileSourceEnum struct {
	SELF_BUILD_OBS BackupFilesBodyFileSource
}

func GetBackupFilesBodyFileSourceEnum

func GetBackupFilesBodyFileSourceEnum() BackupFilesBodyFileSourceEnum

type BackupInstanceBody

type BackupInstanceBody struct {
	Remark *string `json:"remark,omitempty"`

	BackupFormat *BackupInstanceBodyBackupFormat `json:"backup_format,omitempty"`
}

备份实例请求体

func (BackupInstanceBody) String

func (o BackupInstanceBody) String() string

type BackupInstanceBodyBackupFormat added in v0.0.73

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

func (BackupInstanceBodyBackupFormat) MarshalJSON added in v0.0.73

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

func (*BackupInstanceBodyBackupFormat) UnmarshalJSON added in v0.0.73

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

type BackupInstanceBodyBackupFormatEnum added in v0.0.73

type BackupInstanceBodyBackupFormatEnum struct {
	AOF BackupInstanceBodyBackupFormat
	RDB BackupInstanceBodyBackupFormat
}

func GetBackupInstanceBodyBackupFormatEnum added in v0.0.73

func GetBackupInstanceBodyBackupFormatEnum() BackupInstanceBodyBackupFormatEnum

type BackupPlan

type BackupPlan struct {
	TimezoneOffset *string `json:"timezone_offset,omitempty"`

	BackupAt []int32 `json:"backup_at"`

	PeriodType string `json:"period_type"`

	BeginAt string `json:"begin_at"`
}

func (BackupPlan) String

func (o BackupPlan) String() string

type BackupPolicy

type BackupPolicy struct {
	BackupType string `json:"backup_type"`

	SaveDays *int32 `json:"save_days,omitempty"`

	PeriodicalBackupPlan *BackupPlan `json:"periodical_backup_plan,omitempty"`
}

func (BackupPolicy) String

func (o BackupPolicy) String() string

type BackupRecordResponse

type BackupRecordResponse struct {
	BackupId *string `json:"backup_id,omitempty"`

	Period *string `json:"period,omitempty"`

	BackupName *string `json:"backup_name,omitempty"`

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

	Size *int64 `json:"size,omitempty"`

	BackupType *BackupRecordResponseBackupType `json:"backup_type,omitempty"`

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

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

	Progress *string `json:"progress,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	Remark *string `json:"remark,omitempty"`

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

	IsSupportRestore *string `json:"is_support_restore,omitempty"`
}

实例备份信息。

func (BackupRecordResponse) String

func (o BackupRecordResponse) String() string

type BackupRecordResponseBackupType

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

func (BackupRecordResponseBackupType) MarshalJSON

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

func (*BackupRecordResponseBackupType) UnmarshalJSON

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

type BackupRecordResponseBackupTypeEnum

type BackupRecordResponseBackupTypeEnum struct {
	MANUAL BackupRecordResponseBackupType
	AUTO   BackupRecordResponseBackupType
}

func GetBackupRecordResponseBackupTypeEnum

func GetBackupRecordResponseBackupTypeEnum() BackupRecordResponseBackupTypeEnum

type BackupRecordResponseStatus

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

func (BackupRecordResponseStatus) MarshalJSON

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

func (*BackupRecordResponseStatus) UnmarshalJSON

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

type BatchCreateOrDeleteTagsRequest

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

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

Request Object

func (BatchCreateOrDeleteTagsRequest) String

type BatchCreateOrDeleteTagsResponse

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

Response Object

func (BatchCreateOrDeleteTagsResponse) String

type BatchDeleteBody

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

func (BatchDeleteBody) String

func (o BatchDeleteBody) String() string

type BatchDeleteInstancesRequest

type BatchDeleteInstancesRequest struct {
	AllFailure *bool `json:"all_failure,omitempty"`

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

Request Object

func (BatchDeleteInstancesRequest) String

type BatchDeleteInstancesResponse

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

Response Object

func (BatchDeleteInstancesResponse) String

type BatchOpsResult

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

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

批量删除实例接口返回结构体

func (BatchOpsResult) String

func (o BatchOpsResult) String() string

type BigkeysBody

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

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

	Shard *string `json:"shard,omitempty"`

	Db *int32 `json:"db,omitempty"`

	Size *int32 `json:"size,omitempty"`

	Unit *string `json:"unit,omitempty"`
}

大key记录结构体

func (BigkeysBody) String

func (o BigkeysBody) String() string

type BigkeysBodyType

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

func (BigkeysBodyType) MarshalJSON

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

func (*BigkeysBodyType) UnmarshalJSON

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

type BigkeysBodyTypeEnum

type BigkeysBodyTypeEnum struct {
	STRING BigkeysBodyType
	LIST   BigkeysBodyType
	SET    BigkeysBodyType
	ZSET   BigkeysBodyType
	HASH   BigkeysBodyType
}

func GetBigkeysBodyTypeEnum

func GetBigkeysBodyTypeEnum() BigkeysBodyTypeEnum

type BssParam

type BssParam struct {
	IsAutoRenew *BssParamIsAutoRenew `json:"is_auto_renew,omitempty"`

	ChargingMode BssParamChargingMode `json:"charging_mode"`

	IsAutoPay *BssParamIsAutoPay `json:"is_auto_pay,omitempty"`

	PeriodType *BssParamPeriodType `json:"period_type,omitempty"`

	PeriodNum *int32 `json:"period_num,omitempty"`
}

func (BssParam) String

func (o BssParam) String() string

type BssParamChargingMode

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

func (BssParamChargingMode) MarshalJSON

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

func (*BssParamChargingMode) UnmarshalJSON

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

type BssParamChargingModeEnum

type BssParamChargingModeEnum struct {
	PRE_PAID  BssParamChargingMode
	POST_PAID BssParamChargingMode
}

func GetBssParamChargingModeEnum

func GetBssParamChargingModeEnum() BssParamChargingModeEnum

type BssParamEntity added in v0.0.52

type BssParamEntity struct {
	IsAutoPay *BssParamEntityIsAutoPay `json:"is_auto_pay,omitempty"`
}

func (BssParamEntity) String added in v0.0.52

func (o BssParamEntity) String() string

type BssParamEntityIsAutoPay added in v0.0.52

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

func (BssParamEntityIsAutoPay) MarshalJSON added in v0.0.52

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

func (*BssParamEntityIsAutoPay) UnmarshalJSON added in v0.0.52

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

type BssParamEntityIsAutoPayEnum added in v0.0.52

type BssParamEntityIsAutoPayEnum struct {
	TRUE  BssParamEntityIsAutoPay
	FALSE BssParamEntityIsAutoPay
}

func GetBssParamEntityIsAutoPayEnum added in v0.0.52

func GetBssParamEntityIsAutoPayEnum() BssParamEntityIsAutoPayEnum

type BssParamIsAutoPay

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

func (BssParamIsAutoPay) MarshalJSON

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

func (*BssParamIsAutoPay) UnmarshalJSON

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

type BssParamIsAutoPayEnum

type BssParamIsAutoPayEnum struct {
	TRUE  BssParamIsAutoPay
	FALSE BssParamIsAutoPay
}

func GetBssParamIsAutoPayEnum

func GetBssParamIsAutoPayEnum() BssParamIsAutoPayEnum

type BssParamIsAutoRenew

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

func (BssParamIsAutoRenew) MarshalJSON

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

func (*BssParamIsAutoRenew) UnmarshalJSON

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

type BssParamIsAutoRenewEnum

type BssParamIsAutoRenewEnum struct {
	TRUE  BssParamIsAutoRenew
	FALSE BssParamIsAutoRenew
}

func GetBssParamIsAutoRenewEnum

func GetBssParamIsAutoRenewEnum() BssParamIsAutoRenewEnum

type BssParamPeriodType

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

func (BssParamPeriodType) MarshalJSON

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

func (*BssParamPeriodType) UnmarshalJSON

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

type BssParamPeriodTypeEnum

type BssParamPeriodTypeEnum struct {
	MONTH BssParamPeriodType
	YEAR  BssParamPeriodType
}

func GetBssParamPeriodTypeEnum

func GetBssParamPeriodTypeEnum() BssParamPeriodTypeEnum

type ChangeInstanceStatusBody

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

	Action *string `json:"action,omitempty"`
}

重启、清空实例数据的请求体

func (ChangeInstanceStatusBody) String

func (o ChangeInstanceStatusBody) String() string

type ChangeMasterStandbyRequest

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

Request Object

func (ChangeMasterStandbyRequest) String

type ChangeMasterStandbyResponse

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

Response Object

func (ChangeMasterStandbyResponse) String

type ClusterRedisNodeMonitoredObject

type ClusterRedisNodeMonitoredObject struct {
	DcsInstanceId *string `json:"dcs_instance_id,omitempty"`

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

	DcsClusterRedisNode *string `json:"dcs_cluster_redis_node,omitempty"`

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

监控对象结构

func (ClusterRedisNodeMonitoredObject) String

type CommandTimeTaken added in v0.0.66

type CommandTimeTaken struct {
	CallsSum int32 `json:"calls_sum"`

	UsecSum float64 `json:"usec_sum"`

	CommandName string `json:"command_name"`

	PerUsec string `json:"per_usec"`

	AverageUsec float64 `json:"average_usec"`
}

命令耗时统计

func (CommandTimeTaken) String added in v0.0.66

func (o CommandTimeTaken) String() string

type CommandTimeTakenList added in v0.0.66

type CommandTimeTakenList struct {
	TotalNum int32 `json:"total_num"`

	TotalUsecSum float64 `json:"total_usec_sum"`

	Result CommandTimeTakenListResult `json:"result"`

	CommandList []CommandTimeTaken `json:"command_list"`
}

命令耗时统计列表

func (CommandTimeTakenList) String added in v0.0.66

func (o CommandTimeTakenList) String() string

type CommandTimeTakenListResult added in v0.0.66

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

func (CommandTimeTakenListResult) MarshalJSON added in v0.0.66

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

func (*CommandTimeTakenListResult) UnmarshalJSON added in v0.0.66

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

type CommandTimeTakenListResultEnum added in v0.0.66

type CommandTimeTakenListResultEnum struct {
	SUCCEED CommandTimeTakenListResult
	FAILED  CommandTimeTakenListResult
}

func GetCommandTimeTakenListResultEnum added in v0.0.66

func GetCommandTimeTakenListResultEnum() CommandTimeTakenListResultEnum

type ConclusionItem added in v0.0.52

type ConclusionItem struct {
	Id int32 `json:"id"`

	Params map[string]string `json:"params,omitempty"`
}

诊断结论

func (ConclusionItem) String added in v0.0.52

func (o ConclusionItem) String() string

type CopyInstanceRequest

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

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

Request Object

func (CopyInstanceRequest) String

func (o CopyInstanceRequest) String() string

type CopyInstanceResponse

type CopyInstanceResponse struct {
	BackupId       *string `json:"backup_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CopyInstanceResponse) String

func (o CopyInstanceResponse) String() string

type CreateBigkeyScanTaskRequest

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

Request Object

func (CreateBigkeyScanTaskRequest) String

type CreateBigkeyScanTaskResponse

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

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

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

	ScanType *CreateBigkeyScanTaskResponseScanType `json:"scan_type,omitempty"`

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

	StartedAt *string `json:"started_at,omitempty"`

	FinishedAt *string `json:"finished_at,omitempty"`

	Num *int32 `json:"num,omitempty"`

	Keys           *[]BigkeysBody `json:"keys,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (CreateBigkeyScanTaskResponse) String

type CreateBigkeyScanTaskResponseScanType

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

func (CreateBigkeyScanTaskResponseScanType) MarshalJSON

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

func (*CreateBigkeyScanTaskResponseScanType) UnmarshalJSON

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

type CreateBigkeyScanTaskResponseScanTypeEnum

type CreateBigkeyScanTaskResponseScanTypeEnum struct {
	MANUAL CreateBigkeyScanTaskResponseScanType
	AUTO   CreateBigkeyScanTaskResponseScanType
}

func GetCreateBigkeyScanTaskResponseScanTypeEnum

func GetCreateBigkeyScanTaskResponseScanTypeEnum() CreateBigkeyScanTaskResponseScanTypeEnum

type CreateBigkeyScanTaskResponseStatus

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

func (CreateBigkeyScanTaskResponseStatus) MarshalJSON

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

func (*CreateBigkeyScanTaskResponseStatus) UnmarshalJSON

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

type CreateDiagnosisTaskBody added in v0.0.52

type CreateDiagnosisTaskBody struct {
	BeginTime string `json:"begin_time"`

	EndTime string `json:"end_time"`

	NodeIpList *[]string `json:"node_ip_list,omitempty"`
}

发起实例诊断请求体

func (CreateDiagnosisTaskBody) String added in v0.0.52

func (o CreateDiagnosisTaskBody) String() string

type CreateDiagnosisTaskRequest added in v0.0.52

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

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

Request Object

func (CreateDiagnosisTaskRequest) String added in v0.0.52

type CreateDiagnosisTaskResponse added in v0.0.52

type CreateDiagnosisTaskResponse struct {
	ReportId       *string `json:"report_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateDiagnosisTaskResponse) String added in v0.0.52

type CreateHotkeyScanTaskRequest

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

Request Object

func (CreateHotkeyScanTaskRequest) String

type CreateHotkeyScanTaskResponse

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

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

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

	ScanType *CreateHotkeyScanTaskResponseScanType `json:"scan_type,omitempty"`

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

	StartedAt *string `json:"started_at,omitempty"`

	FinishedAt *string `json:"finished_at,omitempty"`

	Num *int32 `json:"num,omitempty"`

	Keys           *[]HotkeysBody `json:"keys,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (CreateHotkeyScanTaskResponse) String

type CreateHotkeyScanTaskResponseScanType

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

func (CreateHotkeyScanTaskResponseScanType) MarshalJSON

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

func (*CreateHotkeyScanTaskResponseScanType) UnmarshalJSON

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

type CreateHotkeyScanTaskResponseScanTypeEnum

type CreateHotkeyScanTaskResponseScanTypeEnum struct {
	MANUAL CreateHotkeyScanTaskResponseScanType
	AUTO   CreateHotkeyScanTaskResponseScanType
}

func GetCreateHotkeyScanTaskResponseScanTypeEnum

func GetCreateHotkeyScanTaskResponseScanTypeEnum() CreateHotkeyScanTaskResponseScanTypeEnum

type CreateHotkeyScanTaskResponseStatus

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

func (CreateHotkeyScanTaskResponseStatus) MarshalJSON

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

func (*CreateHotkeyScanTaskResponseStatus) UnmarshalJSON

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

type CreateInstanceBody

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

	Engine string `json:"engine"`

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

	Capacity float32 `json:"capacity"`

	SpecCode string `json:"spec_code"`

	AzCodes []string `json:"az_codes"`

	VpcId string `json:"vpc_id"`

	SubnetId string `json:"subnet_id"`

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

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

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

	EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"`

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

	EnableSsl *bool `json:"enable_ssl,omitempty"`

	PrivateIp *string `json:"private_ip,omitempty"`

	InstanceNum *int32 `json:"instance_num,omitempty"`

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

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

	Password *string `json:"password,omitempty"`

	NoPasswordAccess *bool `json:"no_password_access,omitempty"`

	BssParam *BssParam `json:"bss_param,omitempty"`

	InstanceBackupPolicy *BackupPolicy `json:"instance_backup_policy,omitempty"`

	Tags *[]ResourceTag `json:"tags,omitempty"`

	AccessUser *string `json:"access_user,omitempty"`

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

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

	RenameCommands *interface{} `json:"rename_commands,omitempty"`
}

func (CreateInstanceBody) String

func (o CreateInstanceBody) String() string

type CreateInstanceRequest

type CreateInstanceRequest struct {
	Body *CreateInstanceBody `json:"body,omitempty"`
}

Request Object

func (CreateInstanceRequest) String

func (o CreateInstanceRequest) String() string

type CreateInstanceResponse

type CreateInstanceResponse struct {
	OrderId *string `json:"order_id,omitempty"`

	Instances      *[]Instances `json:"instances,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (CreateInstanceResponse) String

func (o CreateInstanceResponse) String() string

type CreateMigrationTaskBody

type CreateMigrationTaskBody struct {
	TaskName string `json:"task_name"`

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

	MigrationType CreateMigrationTaskBodyMigrationType `json:"migration_type"`

	MigrationMethod CreateMigrationTaskBodyMigrationMethod `json:"migration_method"`

	BackupFiles *BackupFilesBody `json:"backup_files,omitempty"`

	NetworkType *CreateMigrationTaskBodyNetworkType `json:"network_type,omitempty"`

	SourceInstance *SourceInstanceBody `json:"source_instance,omitempty"`

	TargetInstance *TargetInstanceBody `json:"target_instance"`
}

创建数据迁移任务结构体

func (CreateMigrationTaskBody) String

func (o CreateMigrationTaskBody) String() string

type CreateMigrationTaskBodyMigrationMethod

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

func (CreateMigrationTaskBodyMigrationMethod) MarshalJSON

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

func (*CreateMigrationTaskBodyMigrationMethod) UnmarshalJSON

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

type CreateMigrationTaskBodyMigrationMethodEnum

type CreateMigrationTaskBodyMigrationMethodEnum struct {
	FULL_AMOUNT_MIGRATION CreateMigrationTaskBodyMigrationMethod
	INCREMENTAL_MIGRATION CreateMigrationTaskBodyMigrationMethod
}

func GetCreateMigrationTaskBodyMigrationMethodEnum

func GetCreateMigrationTaskBodyMigrationMethodEnum() CreateMigrationTaskBodyMigrationMethodEnum

type CreateMigrationTaskBodyMigrationType

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

func (CreateMigrationTaskBodyMigrationType) MarshalJSON

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

func (*CreateMigrationTaskBodyMigrationType) UnmarshalJSON

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

type CreateMigrationTaskBodyMigrationTypeEnum

type CreateMigrationTaskBodyMigrationTypeEnum struct {
	BACKUPFILE_IMPORT CreateMigrationTaskBodyMigrationType
	ONLINE_MIGRATION  CreateMigrationTaskBodyMigrationType
}

func GetCreateMigrationTaskBodyMigrationTypeEnum

func GetCreateMigrationTaskBodyMigrationTypeEnum() CreateMigrationTaskBodyMigrationTypeEnum

type CreateMigrationTaskBodyNetworkType

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

func (CreateMigrationTaskBodyNetworkType) MarshalJSON

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

func (*CreateMigrationTaskBodyNetworkType) UnmarshalJSON

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

type CreateMigrationTaskBodyNetworkTypeEnum

type CreateMigrationTaskBodyNetworkTypeEnum struct {
	VPC CreateMigrationTaskBodyNetworkType
	VPN CreateMigrationTaskBodyNetworkType
}

func GetCreateMigrationTaskBodyNetworkTypeEnum

func GetCreateMigrationTaskBodyNetworkTypeEnum() CreateMigrationTaskBodyNetworkTypeEnum

type CreateMigrationTaskRequest

type CreateMigrationTaskRequest struct {
	Body *CreateMigrationTaskBody `json:"body,omitempty"`
}

Request Object

func (CreateMigrationTaskRequest) String

type CreateMigrationTaskResponse

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

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

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

Response Object

func (CreateMigrationTaskResponse) String

type CreateMigrationTaskResponseStatus

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

func (CreateMigrationTaskResponseStatus) MarshalJSON

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

func (*CreateMigrationTaskResponseStatus) UnmarshalJSON

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

type CreateOrDeleteInstanceTags

type CreateOrDeleteInstanceTags struct {
	Action string `json:"action"`

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

func (CreateOrDeleteInstanceTags) String

type CreateRedislogDownloadLinkRequest added in v0.0.52

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

	Id string `json:"id"`
}

Request Object

func (CreateRedislogDownloadLinkRequest) String added in v0.0.52

type CreateRedislogDownloadLinkResponse added in v0.0.52

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

	Link           *string `json:"link,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateRedislogDownloadLinkResponse) String added in v0.0.52

type CreateRedislogRequest added in v0.0.52

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

	QueryTime *int32 `json:"query_time,omitempty"`

	LogType string `json:"log_type"`

	ReplicationId *string `json:"replication_id,omitempty"`
}

Request Object

func (CreateRedislogRequest) String added in v0.0.52

func (o CreateRedislogRequest) String() string

type CreateRedislogResponse added in v0.0.52

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

Response Object

func (CreateRedislogResponse) String added in v0.0.52

func (o CreateRedislogResponse) String() 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 DeleteBackupFileRequest

type DeleteBackupFileRequest struct {
	BackupId string `json:"backup_id"`

	InstanceId string `json:"instance_id"`
}

Request Object

func (DeleteBackupFileRequest) String

func (o DeleteBackupFileRequest) String() string

type DeleteBackupFileResponse

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

Response Object

func (DeleteBackupFileResponse) String

func (o DeleteBackupFileResponse) String() string

type DeleteBigkeyScanTaskRequest

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

	BigkeyId string `json:"bigkey_id"`
}

Request Object

func (DeleteBigkeyScanTaskRequest) String

type DeleteBigkeyScanTaskResponse

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

Response Object

func (DeleteBigkeyScanTaskResponse) String

type DeleteHotkeyScanTaskRequest

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

	HotkeyId string `json:"hotkey_id"`
}

Request Object

func (DeleteHotkeyScanTaskRequest) String

type DeleteHotkeyScanTaskResponse

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

Response Object

func (DeleteHotkeyScanTaskResponse) String

type DeleteIpFromDomainNameRequest

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

	GroupId string `json:"group_id"`

	NodeId string `json:"node_id"`
}

Request Object

func (DeleteIpFromDomainNameRequest) String

type DeleteIpFromDomainNameResponse

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

Response Object

func (DeleteIpFromDomainNameResponse) String

type DeleteMigrateTaskRequest

type DeleteMigrateTaskRequest struct {
	TaskIdList []string `json:"task_id_list"`
}

删除迁移任务请求体

func (DeleteMigrateTaskRequest) String

func (o DeleteMigrateTaskRequest) String() string

type DeleteMigrationTaskRequest

type DeleteMigrationTaskRequest struct {
	Body *DeleteMigrateTaskRequest `json:"body,omitempty"`
}

Request Object

func (DeleteMigrationTaskRequest) String

type DeleteMigrationTaskResponse

type DeleteMigrationTaskResponse struct {
	TaskIdList     *[]string `json:"task_id_list,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (DeleteMigrationTaskResponse) String

type DeleteSingleInstanceRequest

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

Request Object

func (DeleteSingleInstanceRequest) String

type DeleteSingleInstanceResponse

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

Response Object

func (DeleteSingleInstanceResponse) String

type DetailsBody

type DetailsBody struct {
	OldCapacity *string `json:"old_capacity,omitempty"`

	NewCapacity *string `json:"new_capacity,omitempty"`

	EnablePublicIp *bool `json:"enable_public_ip,omitempty"`

	PublicIpId *string `json:"public_ip_id,omitempty"`

	PublicIpAddress *string `json:"public_ip_address,omitempty"`

	EnableSsl *bool `json:"enable_ssl,omitempty"`

	OldCacheMode *string `json:"old_cache_mode,omitempty"`

	NewCacheMode *string `json:"new_cache_mode,omitempty"`
}

详细信息结构体

func (DetailsBody) String

func (o DetailsBody) String() string

type DiagnosisDimension added in v0.0.52

type DiagnosisDimension struct {
	Name DiagnosisDimensionName `json:"name"`

	AbnormalNum int32 `json:"abnormal_num"`

	FailedNum int32 `json:"failed_num"`

	DiagnosisItemList []DiagnosisItem `json:"diagnosis_item_list"`
}

诊断维度

func (DiagnosisDimension) String added in v0.0.52

func (o DiagnosisDimension) String() string

type DiagnosisDimensionName added in v0.0.52

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

func (DiagnosisDimensionName) MarshalJSON added in v0.0.52

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

func (*DiagnosisDimensionName) UnmarshalJSON added in v0.0.52

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

type DiagnosisDimensionNameEnum added in v0.0.52

type DiagnosisDimensionNameEnum struct {
	NETWORK DiagnosisDimensionName
	STORAGE DiagnosisDimensionName
	LOAD    DiagnosisDimensionName
}

func GetDiagnosisDimensionNameEnum added in v0.0.52

func GetDiagnosisDimensionNameEnum() DiagnosisDimensionNameEnum

type DiagnosisItem added in v0.0.52

type DiagnosisItem struct {
	Name DiagnosisItemName `json:"name"`

	CauseIds *[]ConclusionItem `json:"cause_ids,omitempty"`

	ImpactIds *[]ConclusionItem `json:"impact_ids,omitempty"`

	AdviceIds *[]ConclusionItem `json:"advice_ids,omitempty"`

	Result DiagnosisItemResult `json:"result"`
}

诊断项

func (DiagnosisItem) String added in v0.0.52

func (o DiagnosisItem) String() string

type DiagnosisItemName added in v0.0.52

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

func (DiagnosisItemName) MarshalJSON added in v0.0.52

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

func (*DiagnosisItemName) UnmarshalJSON added in v0.0.52

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

type DiagnosisItemNameEnum added in v0.0.52

type DiagnosisItemNameEnum struct {
	CONNECTION_NUM             DiagnosisItemName
	RX_CONTROLLED              DiagnosisItemName
	PERSISTENCE                DiagnosisItemName
	CENTRALIZED_EXPIRATION     DiagnosisItemName
	INNER_MEMORY_FRAGMENTATION DiagnosisItemName
	TIME_CONSUMING_COMMANDS    DiagnosisItemName
	HIT_RATIO                  DiagnosisItemName
	MEMORY_USAGE               DiagnosisItemName
	CPU_USAGE                  DiagnosisItemName
}

func GetDiagnosisItemNameEnum added in v0.0.52

func GetDiagnosisItemNameEnum() DiagnosisItemNameEnum

type DiagnosisItemResult added in v0.0.52

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

func (DiagnosisItemResult) MarshalJSON added in v0.0.52

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

func (*DiagnosisItemResult) UnmarshalJSON added in v0.0.52

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

type DiagnosisItemResultEnum added in v0.0.52

type DiagnosisItemResultEnum struct {
	FAILED   DiagnosisItemResult
	ABNORMAL DiagnosisItemResult
	NORMAL   DiagnosisItemResult
}

func GetDiagnosisItemResultEnum added in v0.0.52

func GetDiagnosisItemResultEnum() DiagnosisItemResultEnum

type DiagnosisNodeReport added in v0.0.52

type DiagnosisNodeReport struct {
	NodeIp string `json:"node_ip"`

	AzCode string `json:"az_code"`

	GroupName string `json:"group_name"`

	AbnormalSum int32 `json:"abnormal_sum"`

	FailedSum int32 `json:"failed_sum"`

	Role DiagnosisNodeReportRole `json:"role"`

	DiagnosisDimensionList []DiagnosisDimension `json:"diagnosis_dimension_list"`

	CommandTimeTakenList *CommandTimeTakenList `json:"command_time_taken_list"`
}

节点诊断报告

func (DiagnosisNodeReport) String added in v0.0.52

func (o DiagnosisNodeReport) String() string

type DiagnosisNodeReportRole added in v0.0.52

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

func (DiagnosisNodeReportRole) MarshalJSON added in v0.0.52

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

func (*DiagnosisNodeReportRole) UnmarshalJSON added in v0.0.52

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

type DiagnosisNodeReportRoleEnum added in v0.0.52

type DiagnosisNodeReportRoleEnum struct {
	MASTER DiagnosisNodeReportRole
	SLAVE  DiagnosisNodeReportRole
}

func GetDiagnosisNodeReportRoleEnum added in v0.0.52

func GetDiagnosisNodeReportRoleEnum() DiagnosisNodeReportRoleEnum

type DiagnosisReportInfo added in v0.0.52

type DiagnosisReportInfo struct {
	ReportId string `json:"report_id"`

	Status DiagnosisReportInfoStatus `json:"status"`

	BeginTime string `json:"begin_time"`

	EndTime string `json:"end_time"`

	CreatedAt string `json:"created_at"`

	NodeNum int32 `json:"node_num"`

	AbnormalItemSum int32 `json:"abnormal_item_sum"`

	FailedItemSum int32 `json:"failed_item_sum"`
}

func (DiagnosisReportInfo) String added in v0.0.52

func (o DiagnosisReportInfo) String() string

type DiagnosisReportInfoStatus added in v0.0.52

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

func (DiagnosisReportInfoStatus) MarshalJSON added in v0.0.52

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

func (*DiagnosisReportInfoStatus) UnmarshalJSON added in v0.0.52

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

type DiagnosisReportInfoStatusEnum added in v0.0.52

type DiagnosisReportInfoStatusEnum struct {
	DIAGNOSING DiagnosisReportInfoStatus
	FINISHED   DiagnosisReportInfoStatus
}

func GetDiagnosisReportInfoStatusEnum added in v0.0.52

func GetDiagnosisReportInfoStatusEnum() DiagnosisReportInfoStatusEnum

type DimChild

type DimChild struct {
	DimName *string `json:"dim_name,omitempty"`

	DimRoute *string `json:"dim_route,omitempty"`
}

维度对象结构体

func (DimChild) String

func (o DimChild) String() string

type DownloadBackupFilesReq

type DownloadBackupFilesReq struct {
	Expiration int32 `json:"expiration"`
}

func (DownloadBackupFilesReq) String

func (o DownloadBackupFilesReq) String() string

type Files

type Files struct {
	FileName string `json:"file_name"`

	Size *string `json:"size,omitempty"`

	UpdateAt *string `json:"update_at,omitempty"`
}

导入的备份文件文件列表。

func (Files) String

func (o Files) String() string

type FlavorAzObject

type FlavorAzObject struct {
	Capacity *string `json:"capacity,omitempty"`

	AzCodes *[]string `json:"az_codes,omitempty"`
}

func (FlavorAzObject) String

func (o FlavorAzObject) String() string

type FlavorsItems

type FlavorsItems struct {
	SpecCode *string `json:"spec_code,omitempty"`

	CloudServiceTypeCode *string `json:"cloud_service_type_code,omitempty"`

	CloudResourceTypeCode *string `json:"cloud_resource_type_code,omitempty"`

	CacheMode *string `json:"cache_mode,omitempty"`

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

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

	ProductType *string `json:"product_type,omitempty"`

	CpuType *string `json:"cpu_type,omitempty"`

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

	Capacity *[]string `json:"capacity,omitempty"`

	BillingMode *[]string `json:"billing_mode,omitempty"`

	TenantIpCount *int32 `json:"tenant_ip_count,omitempty"`

	PricingType *string `json:"pricing_type,omitempty"`

	IsDec *bool `json:"is_dec,omitempty"`

	Attrs *[]AttrsObject `json:"attrs,omitempty"`

	FlavorsAvailableZones *[]FlavorAzObject `json:"flavors_available_zones,omitempty"`
}

func (FlavorsItems) String

func (o FlavorsItems) String() string

type HotkeysBody

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

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

	Shard *string `json:"shard,omitempty"`

	Db *int32 `json:"db,omitempty"`

	Size *int32 `json:"size,omitempty"`

	Unit *string `json:"unit,omitempty"`

	Freq *int32 `json:"freq,omitempty"`
}

热key记录结构体

func (HotkeysBody) String

func (o HotkeysBody) String() string

type HotkeysBodyType

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

func (HotkeysBodyType) MarshalJSON

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

func (*HotkeysBodyType) UnmarshalJSON

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

type HotkeysBodyTypeEnum

type HotkeysBodyTypeEnum struct {
	STRING HotkeysBodyType
	LIST   HotkeysBodyType
	SET    HotkeysBodyType
	ZSET   HotkeysBodyType
	HASH   HotkeysBodyType
}

func GetHotkeysBodyTypeEnum

func GetHotkeysBodyTypeEnum() HotkeysBodyTypeEnum

type InstanceGroupListInfo

type InstanceGroupListInfo struct {
	GroupId *string `json:"group_id,omitempty"`

	GroupName *string `json:"group_name,omitempty"`

	ReplicationList *[]InstanceReplicationListInfo `json:"replication_list,omitempty"`
}

分片列表

func (InstanceGroupListInfo) String

func (o InstanceGroupListInfo) String() string

type InstanceListInfo

type InstanceListInfo struct {
	PublicipId *string `json:"publicip_id,omitempty"`

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

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

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

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

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

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

	EnableSsl *bool `json:"enable_ssl,omitempty"`

	MaxMemory *int32 `json:"max_memory,omitempty"`

	UsedMemory *int32 `json:"used_memory,omitempty"`

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

	Capacity *int32 `json:"capacity,omitempty"`

	CapacityMinor *string `json:"capacity_minor,omitempty"`

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

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

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

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

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

	ServiceUpgrade *bool `json:"service_upgrade,omitempty"`

	NoPasswordAccess *string `json:"no_password_access,omitempty"`

	ServiceTaskId *string `json:"service_task_id,omitempty"`

	Ip *string `json:"ip,omitempty"`

	AccessUser *string `json:"access_user,omitempty"`

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

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

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

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

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

	DomainName *string `json:"domain_name,omitempty"`

	ReadonlyDomainName *string `json:"readonly_domain_name,omitempty"`

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

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

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

	Tags *[]ResourceTag `json:"tags,omitempty"`

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

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

	CpuType *string `json:"cpu_type,omitempty"`

	AzCodes *[]string `json:"az_codes,omitempty"`
}

func (InstanceListInfo) String

func (o InstanceListInfo) String() string

type InstanceReplicationDimensionsInfo

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

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

监控指标维度对象信息

func (InstanceReplicationDimensionsInfo) String

type InstanceReplicationListInfo

type InstanceReplicationListInfo struct {
	ReplicationRole *string `json:"replication_role,omitempty"`

	ReplicationIp *string `json:"replication_ip,omitempty"`

	IsReplication *bool `json:"is_replication,omitempty"`

	ReplicationId *string `json:"replication_id,omitempty"`

	NodeId *string `json:"node_id,omitempty"`

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

	AzCode *string `json:"az_code,omitempty"`

	Dimensions *[]InstanceReplicationDimensionsInfo `json:"dimensions,omitempty"`
}

副本列表

func (InstanceReplicationListInfo) String

type InstanceReplicationListInfoStatus

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

func (InstanceReplicationListInfoStatus) MarshalJSON

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

func (*InstanceReplicationListInfoStatus) UnmarshalJSON

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

type InstanceReplicationListInfoStatusEnum

type InstanceReplicationListInfoStatusEnum struct {
	ACTIVE   InstanceReplicationListInfoStatus
	INACTIVE InstanceReplicationListInfoStatus
}

func GetInstanceReplicationListInfoStatusEnum

func GetInstanceReplicationListInfoStatusEnum() InstanceReplicationListInfoStatusEnum

type InstanceRestoreInfo

type InstanceRestoreInfo struct {
	BackupId *string `json:"backup_id,omitempty"`

	RestoreId *string `json:"restore_id,omitempty"`

	BackupName *string `json:"backup_name,omitempty"`

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

	RestoreRemark *string `json:"restore_remark,omitempty"`

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

	Progress *string `json:"progress,omitempty"`

	ErrorCode *string `json:"error_code,omitempty"`

	RestoreName *string `json:"restore_name,omitempty"`

	BackupRemark *string `json:"backup_remark,omitempty"`

	Status *InstanceRestoreInfoStatus `json:"status,omitempty"`
}

func (InstanceRestoreInfo) String

func (o InstanceRestoreInfo) String() string

type InstanceRestoreInfoStatus

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

func (InstanceRestoreInfoStatus) MarshalJSON

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

func (*InstanceRestoreInfoStatus) UnmarshalJSON

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

type InstanceRestoreInfoStatusEnum

type InstanceRestoreInfoStatusEnum struct {
	WAITING   InstanceRestoreInfoStatus
	RESTORING InstanceRestoreInfoStatus
	SUCCEED   InstanceRestoreInfoStatus
	FAILED    InstanceRestoreInfoStatus
}

func GetInstanceRestoreInfoStatusEnum

func GetInstanceRestoreInfoStatusEnum() InstanceRestoreInfoStatusEnum

type InstanceStatistic

type InstanceStatistic struct {
	InputKbps *string `json:"input_kbps,omitempty"`

	OutputKbps *string `json:"output_kbps,omitempty"`

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

	Keys *int64 `json:"keys,omitempty"`

	UsedMemory *int64 `json:"used_memory,omitempty"`

	MaxMemory *int64 `json:"max_memory,omitempty"`

	CmdGetCount *int64 `json:"cmd_get_count,omitempty"`

	CmdSetCount *int64 `json:"cmd_set_count,omitempty"`

	UsedCpu *string `json:"used_cpu,omitempty"`
}

实例的统计信息。

func (InstanceStatistic) String

func (o InstanceStatistic) String() string

type Instances

type Instances struct {
	InstanceId *string `json:"instance_id,omitempty"`

	InstanceName *string `json:"instance_name,omitempty"`
}

func (Instances) String

func (o Instances) String() string

type InstancesMonitoredObject

type InstancesMonitoredObject struct {
	DcsInstanceId *string `json:"dcs_instance_id,omitempty"`

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

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

监控对象结构

func (InstancesMonitoredObject) String

func (o InstancesMonitoredObject) String() string

type LinksItem

type LinksItem struct {
	FileName *string `json:"file_name,omitempty"`

	Link *string `json:"link,omitempty"`
}

func (LinksItem) String

func (o LinksItem) String() string

type ListAvailableZonesRequest

type ListAvailableZonesRequest struct {
}

Request Object

func (ListAvailableZonesRequest) String

func (o ListAvailableZonesRequest) String() string

type ListAvailableZonesResponse

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

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

Response Object

func (ListAvailableZonesResponse) String

type ListBackgroundTaskRequest

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

	Offset *int32 `json:"offset,omitempty"`

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

	StartTime *string `json:"start_time,omitempty"`

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

Request Object

func (ListBackgroundTaskRequest) String

func (o ListBackgroundTaskRequest) String() string

type ListBackgroundTaskResponse

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

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

Response Object

func (ListBackgroundTaskResponse) String

type ListBackupFileLinksRequest

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

	BackupId string `json:"backup_id"`

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

Request Object

func (ListBackupFileLinksRequest) String

type ListBackupFileLinksResponse

type ListBackupFileLinksResponse struct {
	FilePath *string `json:"file_path,omitempty"`

	BucketName *string `json:"bucket_name,omitempty"`

	Links          *[]LinksItem `json:"links,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListBackupFileLinksResponse) String

type ListBackupRecordsRequest

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

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

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

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

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListBackupRecordsRequest) String

func (o ListBackupRecordsRequest) String() string

type ListBackupRecordsResponse

type ListBackupRecordsResponse struct {
	TotalNum *int32 `json:"total_num,omitempty"`

	BackupRecordResponse *[]BackupRecordResponse `json:"backup_record_response,omitempty"`
	HttpStatusCode       int                     `json:"-"`
}

Response Object

func (ListBackupRecordsResponse) String

func (o ListBackupRecordsResponse) String() string

type ListBigkeyScanTasksRequest

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

	Offset *int32 `json:"offset,omitempty"`

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

	Status *ListBigkeyScanTasksRequestStatus `json:"status,omitempty"`
}

Request Object

func (ListBigkeyScanTasksRequest) String

type ListBigkeyScanTasksRequestStatus

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

func (ListBigkeyScanTasksRequestStatus) MarshalJSON

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

func (*ListBigkeyScanTasksRequestStatus) UnmarshalJSON

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

type ListBigkeyScanTasksResponse

type ListBigkeyScanTasksResponse struct {
	InstanceId *string `json:"instance_id,omitempty"`

	Count *int32 `json:"count,omitempty"`

	Records        *[]RecordsResponse `json:"records,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListBigkeyScanTasksResponse) String

type ListConfigurationsRequest

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

Request Object

func (ListConfigurationsRequest) String

func (o ListConfigurationsRequest) String() string

type ListConfigurationsResponse

type ListConfigurationsResponse struct {
	ConfigTime *string `json:"config_time,omitempty"`

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

	RedisConfig *[]QueryRedisConfig `json:"redis_config,omitempty"`

	ConfigStatus *ListConfigurationsResponseConfigStatus `json:"config_status,omitempty"`

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

Response Object

func (ListConfigurationsResponse) String

type ListConfigurationsResponseConfigStatus

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

func (ListConfigurationsResponseConfigStatus) MarshalJSON

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

func (*ListConfigurationsResponseConfigStatus) UnmarshalJSON

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

type ListDiagnosisTasksRequest added in v0.0.52

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

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

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListDiagnosisTasksRequest) String added in v0.0.52

func (o ListDiagnosisTasksRequest) String() string

type ListDiagnosisTasksResponse added in v0.0.52

type ListDiagnosisTasksResponse struct {
	DiagnosisReportList *[]DiagnosisReportInfo `json:"diagnosis_report_list,omitempty"`

	TotalNum       *int32 `json:"total_num,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListDiagnosisTasksResponse) String added in v0.0.52

type ListFlavorsRequest

type ListFlavorsRequest struct {
	SpecCode *string `json:"spec_code,omitempty"`

	CacheMode *string `json:"cache_mode,omitempty"`

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

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

	CpuType *ListFlavorsRequestCpuType `json:"cpu_type,omitempty"`

	Capacity *string `json:"capacity,omitempty"`
}

Request Object

func (ListFlavorsRequest) String

func (o ListFlavorsRequest) String() string

type ListFlavorsRequestCpuType

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

func (ListFlavorsRequestCpuType) MarshalJSON

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

func (*ListFlavorsRequestCpuType) UnmarshalJSON

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

type ListFlavorsRequestCpuTypeEnum

type ListFlavorsRequestCpuTypeEnum struct {
	X86_64  ListFlavorsRequestCpuType
	AARCH64 ListFlavorsRequestCpuType
}

func GetListFlavorsRequestCpuTypeEnum

func GetListFlavorsRequestCpuTypeEnum() ListFlavorsRequestCpuTypeEnum

type ListFlavorsResponse

type ListFlavorsResponse struct {
	Flavors        *[]FlavorsItems `json:"flavors,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListFlavorsResponse) String

func (o ListFlavorsResponse) String() string

type ListGroupReplicationInfoRequest

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

Request Object

func (ListGroupReplicationInfoRequest) String

type ListGroupReplicationInfoResponse

type ListGroupReplicationInfoResponse struct {
	GroupList *[]InstanceGroupListInfo `json:"group_list,omitempty"`

	GroupCount     *int32 `json:"group_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListGroupReplicationInfoResponse) String

type ListHotKeyScanTasksRequest

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

	Offset *int32 `json:"offset,omitempty"`

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

	Status *ListHotKeyScanTasksRequestStatus `json:"status,omitempty"`
}

Request Object

func (ListHotKeyScanTasksRequest) String

type ListHotKeyScanTasksRequestStatus

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

func (ListHotKeyScanTasksRequestStatus) MarshalJSON

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

func (*ListHotKeyScanTasksRequestStatus) UnmarshalJSON

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

type ListHotKeyScanTasksResponse

type ListHotKeyScanTasksResponse struct {
	InstanceId *string `json:"instance_id,omitempty"`

	Count *int32 `json:"count,omitempty"`

	Records        *[]RecordsResponse `json:"records,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListHotKeyScanTasksResponse) String

type ListInstancesRequest

type ListInstancesRequest struct {
	InstanceId *string `json:"instance_id,omitempty"`

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

	IncludeDelete *string `json:"include_delete,omitempty"`

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

	Offset *int32 `json:"offset,omitempty"`

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

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

	NameEqual *string `json:"name_equal,omitempty"`

	Tags *string `json:"tags,omitempty"`

	Ip *string `json:"ip,omitempty"`
}

Request Object

func (ListInstancesRequest) String

func (o ListInstancesRequest) String() string

type ListInstancesResponse

type ListInstancesResponse struct {
	InstanceNum *int32 `json:"instance_num,omitempty"`

	Instances      *[]InstanceListInfo `json:"instances,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (ListInstancesResponse) String

func (o ListInstancesResponse) String() string

type ListMaintenanceWindowsRequest

type ListMaintenanceWindowsRequest struct {
}

Request Object

func (ListMaintenanceWindowsRequest) String

type ListMaintenanceWindowsResponse

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

Response Object

func (ListMaintenanceWindowsResponse) String

type ListMigrationTaskRequest

type ListMigrationTaskRequest struct {
	Offset *int32 `json:"offset,omitempty"`

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

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

Request Object

func (ListMigrationTaskRequest) String

func (o ListMigrationTaskRequest) String() string

type ListMigrationTaskResponse

type ListMigrationTaskResponse struct {
	Count *int32 `json:"count,omitempty"`

	MigrationTasks *[]MigrationTaskList `json:"migration_tasks,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (ListMigrationTaskResponse) String

func (o ListMigrationTaskResponse) String() string

type ListMonitoredObjectsOfInstanceRequest

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

	DimName string `json:"dim_name"`
}

Request Object

func (ListMonitoredObjectsOfInstanceRequest) String

type ListMonitoredObjectsOfInstanceResponse

type ListMonitoredObjectsOfInstanceResponse struct {
	Router *[]string `json:"router,omitempty"`

	Children *[]DimChild `json:"children,omitempty"`

	Instances *[]InstancesMonitoredObject `json:"instances,omitempty"`

	DcsClusterRedisNode *[]ClusterRedisNodeMonitoredObject `json:"dcs_cluster_redis_node,omitempty"`

	DcsClusterProxyNode *[]ProxyNodeMonitoredObject `json:"dcs_cluster_proxy_node,omitempty"`

	DcsClusterProxy2Node *[]Proxy2NodeMonitoredObject `json:"dcs_cluster_proxy2_node,omitempty"`

	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListMonitoredObjectsOfInstanceResponse) String

type ListMonitoredObjectsRequest

type ListMonitoredObjectsRequest struct {
	DimName string `json:"dim_name"`

	Offset *int32 `json:"offset,omitempty"`

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

Request Object

func (ListMonitoredObjectsRequest) String

type ListMonitoredObjectsResponse

type ListMonitoredObjectsResponse struct {
	Router *[]string `json:"router,omitempty"`

	Children *[]DimChild `json:"children,omitempty"`

	Instances *[]InstancesMonitoredObject `json:"instances,omitempty"`

	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListMonitoredObjectsResponse) String

type ListNumberOfInstancesInDifferentStatusRequest

type ListNumberOfInstancesInDifferentStatusRequest struct {
	IncludeFailure *string `json:"include_failure,omitempty"`
}

Request Object

func (ListNumberOfInstancesInDifferentStatusRequest) String

type ListNumberOfInstancesInDifferentStatusResponse

type ListNumberOfInstancesInDifferentStatusResponse struct {
	Redis *StatusStatistic `json:"redis,omitempty"`

	Memcached *StatusStatistic `json:"memcached,omitempty"`

	PayingCount *int32 `json:"paying_count,omitempty"`

	FreezingCount *int32 `json:"freezing_count,omitempty"`

	MigratingCount *int32 `json:"migrating_count,omitempty"`

	FlushingCount *int32 `json:"flushing_count,omitempty"`

	UpgradingCount *int32 `json:"upgrading_count,omitempty"`

	RestoringCount *int32 `json:"restoring_count,omitempty"`

	ExtendingCount *int32 `json:"extending_count,omitempty"`

	CreatingCount *int32 `json:"creating_count,omitempty"`

	RunningCount *int32 `json:"running_count,omitempty"`

	ErrorCount *int32 `json:"error_count,omitempty"`

	FrozenCount *int32 `json:"frozen_count,omitempty"`

	CreatefailedCount *int32 `json:"createfailed_count,omitempty"`

	RestartingCount *int32 `json:"restarting_count,omitempty"`
	HttpStatusCode  int    `json:"-"`
}

Response Object

func (ListNumberOfInstancesInDifferentStatusResponse) String

type ListRedislogRequest added in v0.0.52

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

	Offset *int32 `json:"offset,omitempty"`

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

	LogType string `json:"log_type"`
}

Request Object

func (ListRedislogRequest) String added in v0.0.52

func (o ListRedislogRequest) String() string

type ListRedislogResponse added in v0.0.52

type ListRedislogResponse struct {
	TotalNum *int32 `json:"total_num,omitempty"`

	FileList       *[]RunlogItem `json:"file_list,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (ListRedislogResponse) String added in v0.0.52

func (o ListRedislogResponse) String() string

type ListRestoreRecordsRequest

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

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

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

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

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListRestoreRecordsRequest) String

func (o ListRestoreRecordsRequest) String() string

type ListRestoreRecordsResponse

type ListRestoreRecordsResponse struct {
	RestoreRecordResponse *[]InstanceRestoreInfo `json:"restore_record_response,omitempty"`

	TotalNum       *int32 `json:"total_num,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListRestoreRecordsResponse) String

type ListSlowlogRequest

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

	Offset *int32 `json:"offset,omitempty"`

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

	SortKey *ListSlowlogRequestSortKey `json:"sort_key,omitempty"`

	SortDir *ListSlowlogRequestSortDir `json:"sort_dir,omitempty"`

	StartTime string `json:"start_time"`

	EndTime string `json:"end_time"`
}

Request Object

func (ListSlowlogRequest) String

func (o ListSlowlogRequest) String() string

type ListSlowlogRequestSortDir

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

func (ListSlowlogRequestSortDir) MarshalJSON

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

func (*ListSlowlogRequestSortDir) UnmarshalJSON

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

type ListSlowlogRequestSortDirEnum

type ListSlowlogRequestSortDirEnum struct {
	DESC ListSlowlogRequestSortDir
	ASC  ListSlowlogRequestSortDir
}

func GetListSlowlogRequestSortDirEnum

func GetListSlowlogRequestSortDirEnum() ListSlowlogRequestSortDirEnum

type ListSlowlogRequestSortKey

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

func (ListSlowlogRequestSortKey) MarshalJSON

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

func (*ListSlowlogRequestSortKey) UnmarshalJSON

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

type ListSlowlogRequestSortKeyEnum

type ListSlowlogRequestSortKeyEnum struct {
	START_TIME ListSlowlogRequestSortKey
	DURATION   ListSlowlogRequestSortKey
}

func GetListSlowlogRequestSortKeyEnum

func GetListSlowlogRequestSortKeyEnum() ListSlowlogRequestSortKeyEnum

type ListSlowlogResponse

type ListSlowlogResponse struct {
	Count *int32 `json:"count,omitempty"`

	Slowlogs       *[]SlowlogItem `json:"slowlogs,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListSlowlogResponse) String

func (o ListSlowlogResponse) String() string

type ListStatisticsOfRunningInstancesRequest

type ListStatisticsOfRunningInstancesRequest struct {
}

Request Object

func (ListStatisticsOfRunningInstancesRequest) String

type ListStatisticsOfRunningInstancesResponse

type ListStatisticsOfRunningInstancesResponse struct {
	Statistics     *[]InstanceStatistic `json:"statistics,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (ListStatisticsOfRunningInstancesResponse) String

type ListTagsOfTenantRequest

type ListTagsOfTenantRequest struct {
}

Request Object

func (ListTagsOfTenantRequest) String

func (o ListTagsOfTenantRequest) String() string

type ListTagsOfTenantResponse

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

Response Object

func (ListTagsOfTenantResponse) String

func (o ListTagsOfTenantResponse) String() string

type MaintainWindowsEntity

type MaintainWindowsEntity struct {
	Seq *int32 `json:"seq,omitempty"`

	Default *bool `json:"default,omitempty"`

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

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

维护时间窗结构体

func (MaintainWindowsEntity) String

func (o MaintainWindowsEntity) String() string

type MigrationTaskList

type MigrationTaskList struct {
	TaskId *string `json:"task_id,omitempty"`

	TaskName *string `json:"task_name,omitempty"`

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

	MigrationType *MigrationTaskListMigrationType `json:"migration_type,omitempty"`

	MigrationMethod *MigrationTaskListMigrationMethod `json:"migration_method,omitempty"`

	DataSource *string `json:"data_source,omitempty"`

	SourceInstanceName *string `json:"source_instance_name,omitempty"`

	SourceInstanceId *string `json:"source_instance_id,omitempty"`

	TargetInstanceAddrs *string `json:"target_instance_addrs,omitempty"`

	TargetInstanceName *string `json:"target_instance_name,omitempty"`

	TargetInstanceId *string `json:"target_instance_id,omitempty"`

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

查询迁移任务列表

func (MigrationTaskList) String

func (o MigrationTaskList) String() string

type MigrationTaskListMigrationMethod

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

func (MigrationTaskListMigrationMethod) MarshalJSON

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

func (*MigrationTaskListMigrationMethod) UnmarshalJSON

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

type MigrationTaskListMigrationMethodEnum

type MigrationTaskListMigrationMethodEnum struct {
	FULL_AMOUNT_MIGRATION MigrationTaskListMigrationMethod
	INCREMENTAL_MIGRATION MigrationTaskListMigrationMethod
}

func GetMigrationTaskListMigrationMethodEnum

func GetMigrationTaskListMigrationMethodEnum() MigrationTaskListMigrationMethodEnum

type MigrationTaskListMigrationType

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

func (MigrationTaskListMigrationType) MarshalJSON

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

func (*MigrationTaskListMigrationType) UnmarshalJSON

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

type MigrationTaskListMigrationTypeEnum

type MigrationTaskListMigrationTypeEnum struct {
	BACKUPFILE_IMPORT MigrationTaskListMigrationType
	ONLINE_MIGRATION  MigrationTaskListMigrationType
}

func GetMigrationTaskListMigrationTypeEnum

func GetMigrationTaskListMigrationTypeEnum() MigrationTaskListMigrationTypeEnum

type MigrationTaskListStatus

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

func (MigrationTaskListStatus) MarshalJSON

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

func (*MigrationTaskListStatus) UnmarshalJSON

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

type MigrationTaskListStatusEnum

type MigrationTaskListStatusEnum struct {
	SUCCESS    MigrationTaskListStatus
	FAILED     MigrationTaskListStatus
	MIGRATING  MigrationTaskListStatus
	TERMINATED MigrationTaskListStatus
}

func GetMigrationTaskListStatusEnum

func GetMigrationTaskListStatusEnum() MigrationTaskListStatusEnum

type ModifyInstanceBody

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

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

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

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

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

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

	InstanceBackupPolicy *BackupPolicy `json:"instance_backup_policy,omitempty"`
}

修改实例信息

func (ModifyInstanceBody) String

func (o ModifyInstanceBody) String() string

type ModifyInstancePasswordBody

type ModifyInstancePasswordBody struct {
	OldPassword *string `json:"old_password,omitempty"`

	NewPassword *string `json:"new_password,omitempty"`
}

func (ModifyInstancePasswordBody) String

type ModifyIpWhitelistBody

type ModifyIpWhitelistBody struct {
	EnableWhitelist bool `json:"enable_whitelist"`

	Whitelist []Whitelist `json:"whitelist"`
}

设置IP白名单结构体

func (ModifyIpWhitelistBody) String

func (o ModifyIpWhitelistBody) String() string

type ModifyRedisConfigBody

type ModifyRedisConfigBody struct {
	RedisConfig *[]RedisConfig `json:"redis_config,omitempty"`
}

修改配置参数请求体

func (ModifyRedisConfigBody) String

func (o ModifyRedisConfigBody) String() string

type PriorityBody

type PriorityBody struct {
	SlavePriorityWeight int32 `json:"slave_priority_weight"`
}

func (PriorityBody) String

func (o PriorityBody) String() string

type Proxy2NodeMonitoredObject added in v0.0.53

type Proxy2NodeMonitoredObject struct {
	DcsInstanceId *string `json:"dcs_instance_id,omitempty"`

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

	DcsClusterProxy2Node *string `json:"dcs_cluster_proxy2_node,omitempty"`

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

Redis 4.0 和 5.0 proxy集群中proxy节点监控对象结构

func (Proxy2NodeMonitoredObject) String added in v0.0.53

func (o Proxy2NodeMonitoredObject) String() string

type ProxyNodeMonitoredObject

type ProxyNodeMonitoredObject struct {
	DcsInstanceId *string `json:"dcs_instance_id,omitempty"`

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

	DcsClusterProxyNode *string `json:"dcs_cluster_proxy_node,omitempty"`

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

Redis 3.0 proxy集群中proxy节点监控对象结构

func (ProxyNodeMonitoredObject) String

func (o ProxyNodeMonitoredObject) String() string

type QueryRedisConfig

type QueryRedisConfig struct {
	ParamValue *string `json:"param_value,omitempty"`

	ValueType *string `json:"value_type,omitempty"`

	ValueRange *string `json:"value_range,omitempty"`

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

	DefaultValue *string `json:"default_value,omitempty"`

	ParamName *string `json:"param_name,omitempty"`

	ParamId *string `json:"param_id,omitempty"`
}

实例配置项

func (QueryRedisConfig) String

func (o QueryRedisConfig) String() string

type QueryTenantQuotaRespQuotas

type QueryTenantQuotaRespQuotas struct {
	Resources *[]Resources `json:"resources,omitempty"`
}

配额信息。

func (QueryTenantQuotaRespQuotas) String

type RecordsResponse

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

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

	ScanType *RecordsResponseScanType `json:"scan_type,omitempty"`

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

	StartedAt *string `json:"started_at,omitempty"`

	FinishedAt *string `json:"finished_at,omitempty"`
}

单个大key分析历史记录

func (RecordsResponse) String

func (o RecordsResponse) String() string

type RecordsResponseScanType

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

func (RecordsResponseScanType) MarshalJSON

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

func (*RecordsResponseScanType) UnmarshalJSON

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

type RecordsResponseScanTypeEnum

type RecordsResponseScanTypeEnum struct {
	MANUAL RecordsResponseScanType
	AUTO   RecordsResponseScanType
}

func GetRecordsResponseScanTypeEnum

func GetRecordsResponseScanTypeEnum() RecordsResponseScanTypeEnum

type RecordsResponseStatus

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

func (RecordsResponseStatus) MarshalJSON

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

func (*RecordsResponseStatus) UnmarshalJSON

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

type RecordsResponseStatusEnum

type RecordsResponseStatusEnum struct {
	WAITING RecordsResponseStatus
	RUNNING RecordsResponseStatus
	SUCCESS RecordsResponseStatus
	FAILED  RecordsResponseStatus
}

func GetRecordsResponseStatusEnum

func GetRecordsResponseStatusEnum() RecordsResponseStatusEnum

type RedisConfig

type RedisConfig struct {
	ParamValue string `json:"param_value"`

	ParamName string `json:"param_name"`

	ParamId string `json:"param_id"`
}

func (RedisConfig) String

func (o RedisConfig) String() string

type ResizeInstanceBody added in v0.0.52

type ResizeInstanceBody struct {
	SpecCode string `json:"spec_code"`

	NewCapacity int32 `json:"new_capacity"`

	BssParam *BssParamEntity `json:"bss_param,omitempty"`

	ReservedIp *[]string `json:"reserved_ip,omitempty"`

	ChangeType *ResizeInstanceBodyChangeType `json:"change_type,omitempty"`

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

	NodeList *[]string `json:"node_list,omitempty"`
}

func (ResizeInstanceBody) String added in v0.0.52

func (o ResizeInstanceBody) String() string

type ResizeInstanceBodyChangeType added in v0.0.52

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

func (ResizeInstanceBodyChangeType) MarshalJSON added in v0.0.52

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

func (*ResizeInstanceBodyChangeType) UnmarshalJSON added in v0.0.52

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

type ResizeInstanceBodyChangeTypeEnum added in v0.0.52

type ResizeInstanceBodyChangeTypeEnum struct {
	CREATE_REPLICATION ResizeInstanceBodyChangeType
	DELETE_REPLICATION ResizeInstanceBodyChangeType
}

func GetResizeInstanceBodyChangeTypeEnum added in v0.0.52

func GetResizeInstanceBodyChangeTypeEnum() ResizeInstanceBodyChangeTypeEnum

type ResizeInstanceRequest added in v0.0.52

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

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

Request Object

func (ResizeInstanceRequest) String added in v0.0.52

func (o ResizeInstanceRequest) String() string

type ResizeInstanceResponse added in v0.0.52

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

Response Object

func (ResizeInstanceResponse) String added in v0.0.52

func (o ResizeInstanceResponse) String() string

type ResourceTag

type ResourceTag struct {
	Key string `json:"key"`

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

func (ResourceTag) String

func (o ResourceTag) String() string

type Resources

type Resources struct {
	Unit *string `json:"unit,omitempty"`

	Min *int32 `json:"min,omitempty"`

	Max *int32 `json:"max,omitempty"`

	Quota *int32 `json:"quota,omitempty"`

	Used *int32 `json:"used,omitempty"`

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

func (Resources) String

func (o Resources) String() string

type RestartOrFlushInstancesRequest

type RestartOrFlushInstancesRequest struct {
	Body *ChangeInstanceStatusBody `json:"body,omitempty"`
}

Request Object

func (RestartOrFlushInstancesRequest) String

type RestartOrFlushInstancesResponse

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

Response Object

func (RestartOrFlushInstancesResponse) String

type RestoreInstanceBody

type RestoreInstanceBody struct {
	BackupId string `json:"backup_id"`

	Remark *string `json:"remark,omitempty"`
}

func (RestoreInstanceBody) String

func (o RestoreInstanceBody) String() string

type RestoreInstanceRequest

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

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

Request Object

func (RestoreInstanceRequest) String

func (o RestoreInstanceRequest) String() string

type RestoreInstanceResponse

type RestoreInstanceResponse struct {
	RestoreId      *string `json:"restore_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (RestoreInstanceResponse) String

func (o RestoreInstanceResponse) String() string

type RunlogItem added in v0.0.52

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

	FileName *string `json:"file_name,omitempty"`

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

	Time *string `json:"time,omitempty"`
}

运行日志单个条目

func (RunlogItem) String added in v0.0.52

func (o RunlogItem) String() string

type ShowBigkeyAutoscanConfigRequest

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

Request Object

func (ShowBigkeyAutoscanConfigRequest) String

type ShowBigkeyAutoscanConfigResponse

type ShowBigkeyAutoscanConfigResponse struct {
	InstanceId *string `json:"instance_id,omitempty"`

	EnableAutoScan *bool `json:"enable_auto_scan,omitempty"`

	ScheduleAt *[]string `json:"schedule_at,omitempty"`

	UpdatedAt      *string `json:"updated_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowBigkeyAutoscanConfigResponse) String

type ShowBigkeyScanTaskDetailsRequest

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

	BigkeyId string `json:"bigkey_id"`
}

Request Object

func (ShowBigkeyScanTaskDetailsRequest) String

type ShowBigkeyScanTaskDetailsResponse

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

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

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

	ScanType *ShowBigkeyScanTaskDetailsResponseScanType `json:"scan_type,omitempty"`

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

	StartedAt *string `json:"started_at,omitempty"`

	FinishedAt *string `json:"finished_at,omitempty"`

	Num *int32 `json:"num,omitempty"`

	Keys           *[]BigkeysBody `json:"keys,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ShowBigkeyScanTaskDetailsResponse) String

type ShowBigkeyScanTaskDetailsResponseScanType

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

func (ShowBigkeyScanTaskDetailsResponseScanType) MarshalJSON

func (*ShowBigkeyScanTaskDetailsResponseScanType) UnmarshalJSON

type ShowBigkeyScanTaskDetailsResponseStatus

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

func (ShowBigkeyScanTaskDetailsResponseStatus) MarshalJSON

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

func (*ShowBigkeyScanTaskDetailsResponseStatus) UnmarshalJSON

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

type ShowDiagnosisTaskDetailsRequest added in v0.0.52

type ShowDiagnosisTaskDetailsRequest struct {
	ReportId string `json:"report_id"`
}

Request Object

func (ShowDiagnosisTaskDetailsRequest) String added in v0.0.52

type ShowDiagnosisTaskDetailsResponse added in v0.0.52

type ShowDiagnosisTaskDetailsResponse struct {
	AbnormalItemSum *int32 `json:"abnormal_item_sum,omitempty"`

	FailedItemSum *int32 `json:"failed_item_sum,omitempty"`

	DiagnosisNodeReportList *[]DiagnosisNodeReport `json:"diagnosis_node_report_list,omitempty"`
	HttpStatusCode          int                    `json:"-"`
}

Response Object

func (ShowDiagnosisTaskDetailsResponse) String added in v0.0.52

type ShowHotkeyAutoscanConfigRequest

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

Request Object

func (ShowHotkeyAutoscanConfigRequest) String

type ShowHotkeyAutoscanConfigResponse

type ShowHotkeyAutoscanConfigResponse struct {
	InstanceId *string `json:"instance_id,omitempty"`

	EnableAutoScan *bool `json:"enable_auto_scan,omitempty"`

	ScheduleAt *[]string `json:"schedule_at,omitempty"`

	UpdatedAt      *string `json:"updated_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowHotkeyAutoscanConfigResponse) String

type ShowHotkeyTaskDetailsRequest

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

	HotkeyId string `json:"hotkey_id"`
}

Request Object

func (ShowHotkeyTaskDetailsRequest) String

type ShowHotkeyTaskDetailsResponse

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

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

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

	ScanType *ShowHotkeyTaskDetailsResponseScanType `json:"scan_type,omitempty"`

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

	StartedAt *string `json:"started_at,omitempty"`

	FinishedAt *string `json:"finished_at,omitempty"`

	Num *int32 `json:"num,omitempty"`

	Keys           *[]HotkeysBody `json:"keys,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ShowHotkeyTaskDetailsResponse) String

type ShowHotkeyTaskDetailsResponseScanType

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

func (ShowHotkeyTaskDetailsResponseScanType) MarshalJSON

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

func (*ShowHotkeyTaskDetailsResponseScanType) UnmarshalJSON

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

type ShowHotkeyTaskDetailsResponseScanTypeEnum

type ShowHotkeyTaskDetailsResponseScanTypeEnum struct {
	MANUAL ShowHotkeyTaskDetailsResponseScanType
	AUTO   ShowHotkeyTaskDetailsResponseScanType
}

func GetShowHotkeyTaskDetailsResponseScanTypeEnum

func GetShowHotkeyTaskDetailsResponseScanTypeEnum() ShowHotkeyTaskDetailsResponseScanTypeEnum

type ShowHotkeyTaskDetailsResponseStatus

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

func (ShowHotkeyTaskDetailsResponseStatus) MarshalJSON

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

func (*ShowHotkeyTaskDetailsResponseStatus) UnmarshalJSON

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

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 {
	VpcName *string `json:"vpc_name,omitempty"`

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

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

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

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

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

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

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

	MaxMemory *int32 `json:"max_memory,omitempty"`

	UsedMemory *int32 `json:"used_memory,omitempty"`

	Capacity *int32 `json:"capacity,omitempty"`

	CapacityMinor *string `json:"capacity_minor,omitempty"`

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

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

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

	NoPasswordAccess *string `json:"no_password_access,omitempty"`

	Ip *string `json:"ip,omitempty"`

	InstanceBackupPolicy *BackupPolicy `json:"instance_backup_policy,omitempty"`

	AzCodes *[]string `json:"az_codes,omitempty"`

	AccessUser *string `json:"access_user,omitempty"`

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

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

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

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

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

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

	SubnetName *string `json:"subnet_name,omitempty"`

	SubnetCidr *string `json:"subnet_cidr,omitempty"`

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

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

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

	DomainName *string `json:"domain_name,omitempty"`

	ReadonlyDomainName *string `json:"readonly_domain_name,omitempty"`

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

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

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

	EnableSsl *bool `json:"enable_ssl,omitempty"`

	ServiceUpgrade *bool `json:"service_upgrade,omitempty"`

	ServiceTaskId *string `json:"service_task_id,omitempty"`

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

	BackendAddrs   *string `json:"backend_addrs,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowInstanceResponse) String

func (o ShowInstanceResponse) String() string

type ShowIpWhitelistRequest

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

Request Object

func (ShowIpWhitelistRequest) String

func (o ShowIpWhitelistRequest) String() string

type ShowIpWhitelistResponse

type ShowIpWhitelistResponse struct {
	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`

	Whitelist      *[]Whitelist `json:"whitelist,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ShowIpWhitelistResponse) String

func (o ShowIpWhitelistResponse) String() string

type ShowMigrationTaskRequest

type ShowMigrationTaskRequest struct {
	TaskId string `json:"task_id"`
}

Request Object

func (ShowMigrationTaskRequest) String

func (o ShowMigrationTaskRequest) String() string

type ShowMigrationTaskResponse

type ShowMigrationTaskResponse struct {
	TaskId *string `json:"task_id,omitempty"`

	TaskName *string `json:"task_name,omitempty"`

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

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

	MigrationType *ShowMigrationTaskResponseMigrationType `json:"migration_type,omitempty"`

	MigrationMethod *ShowMigrationTaskResponseMigrationMethod `json:"migration_method,omitempty"`

	BackupFiles *BackupFilesBody `json:"backup_files,omitempty"`

	NetworkType *ShowMigrationTaskResponseNetworkType `json:"network_type,omitempty"`

	SourceInstance *SourceInstanceBody `json:"source_instance,omitempty"`

	TargetInstance *TargetInstanceBody `json:"target_instance,omitempty"`

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

	UpdatedAt      *string `json:"updated_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowMigrationTaskResponse) String

func (o ShowMigrationTaskResponse) String() string

type ShowMigrationTaskResponseMigrationMethod

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

func (ShowMigrationTaskResponseMigrationMethod) MarshalJSON

func (*ShowMigrationTaskResponseMigrationMethod) UnmarshalJSON

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

type ShowMigrationTaskResponseMigrationMethodEnum

type ShowMigrationTaskResponseMigrationMethodEnum struct {
	FULL_AMOUNT_MIGRATION ShowMigrationTaskResponseMigrationMethod
	INCREMENTAL_MIGRATION ShowMigrationTaskResponseMigrationMethod
}

func GetShowMigrationTaskResponseMigrationMethodEnum

func GetShowMigrationTaskResponseMigrationMethodEnum() ShowMigrationTaskResponseMigrationMethodEnum

type ShowMigrationTaskResponseMigrationType

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

func (ShowMigrationTaskResponseMigrationType) MarshalJSON

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

func (*ShowMigrationTaskResponseMigrationType) UnmarshalJSON

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

type ShowMigrationTaskResponseMigrationTypeEnum

type ShowMigrationTaskResponseMigrationTypeEnum struct {
	BACKUPFILE_IMPORT ShowMigrationTaskResponseMigrationType
	ONLINE_MIGRATION  ShowMigrationTaskResponseMigrationType
}

func GetShowMigrationTaskResponseMigrationTypeEnum

func GetShowMigrationTaskResponseMigrationTypeEnum() ShowMigrationTaskResponseMigrationTypeEnum

type ShowMigrationTaskResponseNetworkType

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

func (ShowMigrationTaskResponseNetworkType) MarshalJSON

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

func (*ShowMigrationTaskResponseNetworkType) UnmarshalJSON

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

type ShowMigrationTaskResponseNetworkTypeEnum

type ShowMigrationTaskResponseNetworkTypeEnum struct {
	VPC ShowMigrationTaskResponseNetworkType
	VPN ShowMigrationTaskResponseNetworkType
}

func GetShowMigrationTaskResponseNetworkTypeEnum

func GetShowMigrationTaskResponseNetworkTypeEnum() ShowMigrationTaskResponseNetworkTypeEnum

type ShowMigrationTaskResponseStatus

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

func (ShowMigrationTaskResponseStatus) MarshalJSON

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

func (*ShowMigrationTaskResponseStatus) UnmarshalJSON

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

type ShowMigrationTaskStatsRequest

type ShowMigrationTaskStatsRequest struct {
	TaskId string `json:"task_id"`
}

Request Object

func (ShowMigrationTaskStatsRequest) String

type ShowMigrationTaskStatsResponse

type ShowMigrationTaskStatsResponse struct {
	FullMigrationProgress *string `json:"full_migration_progress,omitempty"`

	Offset *string `json:"offset,omitempty"`

	SourceDbsize *string `json:"source_dbsize,omitempty"`

	TargetDbsize *string `json:"target_dbsize,omitempty"`

	TargetInputKbps *string `json:"target_input_kbps,omitempty"`

	TargetOps *string `json:"target_ops,omitempty"`

	IsMigrating    *bool `json:"is_migrating,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ShowMigrationTaskStatsResponse) String

type ShowQuotaOfTenantRequest

type ShowQuotaOfTenantRequest struct {
}

Request Object

func (ShowQuotaOfTenantRequest) String

func (o ShowQuotaOfTenantRequest) String() string

type ShowQuotaOfTenantResponse

type ShowQuotaOfTenantResponse struct {
	Quotas         *QueryTenantQuotaRespQuotas `json:"quotas,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

Response Object

func (ShowQuotaOfTenantResponse) String

func (o ShowQuotaOfTenantResponse) String() string

type ShowTagsRequest

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

Request Object

func (ShowTagsRequest) String

func (o ShowTagsRequest) String() string

type ShowTagsResponse

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

Response Object

func (ShowTagsResponse) String

func (o ShowTagsResponse) String() string

type SingleBackgroundTask

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

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

	Details *DetailsBody `json:"details,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 (SingleBackgroundTask) String

func (o SingleBackgroundTask) String() string

type SlowlogItem

type SlowlogItem struct {
	Id *int32 `json:"id,omitempty"`

	Command *string `json:"command,omitempty"`

	StartTime *string `json:"start_time,omitempty"`

	Duration *string `json:"duration,omitempty"`

	ShardName *string `json:"shard_name,omitempty"`
}

慢日志单个条目

func (SlowlogItem) String

func (o SlowlogItem) String() string

type SourceInstanceBody

type SourceInstanceBody struct {
	Addrs string `json:"addrs"`

	Password *string `json:"password,omitempty"`
}

源实例信息。

func (SourceInstanceBody) String

func (o SourceInstanceBody) String() string

type StatusStatistic

type StatusStatistic struct {
	PayingCount *int32 `json:"paying_count,omitempty"`

	FreezingCount *int32 `json:"freezing_count,omitempty"`

	MigratingCount *int32 `json:"migrating_count,omitempty"`

	FlushingCount *int32 `json:"flushing_count,omitempty"`

	UpgradingCount *int32 `json:"upgrading_count,omitempty"`

	RestoringCount *int32 `json:"restoring_count,omitempty"`

	ExtendingCount *int32 `json:"extending_count,omitempty"`

	CreatingCount *int32 `json:"creating_count,omitempty"`

	RunningCount *int32 `json:"running_count,omitempty"`

	ErrorCount *int32 `json:"error_count,omitempty"`

	FrozenCount *int32 `json:"frozen_count,omitempty"`

	CreatefailedCount *int32 `json:"createfailed_count,omitempty"`

	RestartingCount *int32 `json:"restarting_count,omitempty"`
}

实例数量统计信息。

func (StatusStatistic) String

func (o StatusStatistic) String() string

type StopMigrationTaskRequest

type StopMigrationTaskRequest struct {
	TaskId string `json:"task_id"`
}

Request Object

func (StopMigrationTaskRequest) String

func (o StopMigrationTaskRequest) String() string

type StopMigrationTaskResponse

type StopMigrationTaskResponse struct {
	TaskId *string `json:"task_id,omitempty"`

	TaskName *string `json:"task_name,omitempty"`

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

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

	MigrationType *StopMigrationTaskResponseMigrationType `json:"migration_type,omitempty"`

	MigrationMethod *StopMigrationTaskResponseMigrationMethod `json:"migration_method,omitempty"`

	BackupFiles *BackupFilesBody `json:"backup_files,omitempty"`

	NetworkType *StopMigrationTaskResponseNetworkType `json:"network_type,omitempty"`

	SourceInstance *SourceInstanceBody `json:"source_instance,omitempty"`

	TargetInstance *TargetInstanceBody `json:"target_instance,omitempty"`

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

	UpdatedAt      *string `json:"updated_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (StopMigrationTaskResponse) String

func (o StopMigrationTaskResponse) String() string

type StopMigrationTaskResponseMigrationMethod

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

func (StopMigrationTaskResponseMigrationMethod) MarshalJSON

func (*StopMigrationTaskResponseMigrationMethod) UnmarshalJSON

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

type StopMigrationTaskResponseMigrationMethodEnum

type StopMigrationTaskResponseMigrationMethodEnum struct {
	FULL_AMOUNT_MIGRATION StopMigrationTaskResponseMigrationMethod
	INCREMENTAL_MIGRATION StopMigrationTaskResponseMigrationMethod
}

func GetStopMigrationTaskResponseMigrationMethodEnum

func GetStopMigrationTaskResponseMigrationMethodEnum() StopMigrationTaskResponseMigrationMethodEnum

type StopMigrationTaskResponseMigrationType

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

func (StopMigrationTaskResponseMigrationType) MarshalJSON

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

func (*StopMigrationTaskResponseMigrationType) UnmarshalJSON

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

type StopMigrationTaskResponseMigrationTypeEnum

type StopMigrationTaskResponseMigrationTypeEnum struct {
	BACKUPFILE_IMPORT StopMigrationTaskResponseMigrationType
	ONLINE_MIGRATION  StopMigrationTaskResponseMigrationType
}

func GetStopMigrationTaskResponseMigrationTypeEnum

func GetStopMigrationTaskResponseMigrationTypeEnum() StopMigrationTaskResponseMigrationTypeEnum

type StopMigrationTaskResponseNetworkType

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

func (StopMigrationTaskResponseNetworkType) MarshalJSON

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

func (*StopMigrationTaskResponseNetworkType) UnmarshalJSON

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

type StopMigrationTaskResponseNetworkTypeEnum

type StopMigrationTaskResponseNetworkTypeEnum struct {
	VPC StopMigrationTaskResponseNetworkType
	VPN StopMigrationTaskResponseNetworkType
}

func GetStopMigrationTaskResponseNetworkTypeEnum

func GetStopMigrationTaskResponseNetworkTypeEnum() StopMigrationTaskResponseNetworkTypeEnum

type StopMigrationTaskResponseStatus

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

func (StopMigrationTaskResponseStatus) MarshalJSON

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

func (*StopMigrationTaskResponseStatus) UnmarshalJSON

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

type Tag

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

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

func (Tag) String

func (o Tag) String() string

type TargetInstanceBody

type TargetInstanceBody struct {
	Id string `json:"id"`

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

	Password *string `json:"password,omitempty"`
}

目标实例信息。

func (TargetInstanceBody) String

func (o TargetInstanceBody) String() string

type UpdateBigkeyAutoscanConfigRequest

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

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

Request Object

func (UpdateBigkeyAutoscanConfigRequest) String

type UpdateBigkeyAutoscanConfigResponse

type UpdateBigkeyAutoscanConfigResponse struct {
	InstanceId *string `json:"instance_id,omitempty"`

	EnableAutoScan *bool `json:"enable_auto_scan,omitempty"`

	ScheduleAt *[]string `json:"schedule_at,omitempty"`

	UpdatedAt      *string `json:"updated_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateBigkeyAutoscanConfigResponse) String

type UpdateConfigurationsRequest

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

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

Request Object

func (UpdateConfigurationsRequest) String

type UpdateConfigurationsResponse

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

Response Object

func (UpdateConfigurationsResponse) String

type UpdateHotkeyAutoScanConfigRequest

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

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

Request Object

func (UpdateHotkeyAutoScanConfigRequest) String

type UpdateHotkeyAutoScanConfigResponse

type UpdateHotkeyAutoScanConfigResponse struct {
	InstanceId *string `json:"instance_id,omitempty"`

	EnableAutoScan *bool `json:"enable_auto_scan,omitempty"`

	ScheduleAt *[]string `json:"schedule_at,omitempty"`

	UpdatedAt      *string `json:"updated_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateHotkeyAutoScanConfigResponse) String

type UpdateInstanceRequest

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

	Body *ModifyInstanceBody `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 UpdateIpWhitelistRequest

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

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

Request Object

func (UpdateIpWhitelistRequest) String

func (o UpdateIpWhitelistRequest) String() string

type UpdateIpWhitelistResponse

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

Response Object

func (UpdateIpWhitelistResponse) String

func (o UpdateIpWhitelistResponse) String() string

type UpdatePasswordRequest

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

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

Request Object

func (UpdatePasswordRequest) String

func (o UpdatePasswordRequest) String() string

type UpdatePasswordResponse

type UpdatePasswordResponse struct {
	LockTime *string `json:"lock_time,omitempty"`

	Result *UpdatePasswordResponseResult `json:"result,omitempty"`

	LockTimeLeft *string `json:"lock_time_left,omitempty"`

	RetryTimesLeft *string `json:"retry_times_left,omitempty"`

	Message        *string `json:"message,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdatePasswordResponse) String

func (o UpdatePasswordResponse) String() string

type UpdatePasswordResponseResult

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

func (UpdatePasswordResponseResult) MarshalJSON

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

func (*UpdatePasswordResponseResult) UnmarshalJSON

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

type UpdatePasswordResponseResultEnum

type UpdatePasswordResponseResultEnum struct {
	SUCCESS         UpdatePasswordResponseResult
	PASSWORD_FAILED UpdatePasswordResponseResult
	LOCKED          UpdatePasswordResponseResult
	FAILED          UpdatePasswordResponseResult
}

func GetUpdatePasswordResponseResultEnum

func GetUpdatePasswordResponseResultEnum() UpdatePasswordResponseResultEnum

type UpdateSlavePriorityRequest

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

	GroupId string `json:"group_id"`

	NodeId string `json:"node_id"`

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

Request Object

func (UpdateSlavePriorityRequest) String

type UpdateSlavePriorityResponse

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

Response Object

func (UpdateSlavePriorityResponse) String

type Whitelist

type Whitelist struct {
	GroupName string `json:"group_name"`

	IpList []string `json:"ip_list"`
}

IP白名单分组列表结构体

func (Whitelist) String

func (o Whitelist) String() string

Source Files

Jump to

Keyboard shortcuts

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