Documentation ¶
Index ¶
- type AttrsObject
- type AutoscanConfigRequest
- type AvailableZones
- type AvailableZonesResourceAvailability
- type AvailableZonesResourceAvailabilityEnum
- type BackupFilesBody
- type BackupFilesBodyFileSource
- type BackupFilesBodyFileSourceEnum
- type BackupInstanceBody
- type BackupPlan
- type BackupPolicy
- type BackupRecordResponse
- type BackupRecordResponseBackupType
- type BackupRecordResponseBackupTypeEnum
- type BackupRecordResponseStatus
- type BackupRecordResponseStatusEnum
- type BatchCreateOrDeleteTagsRequest
- type BatchCreateOrDeleteTagsResponse
- type BatchDeleteBody
- type BatchDeleteInstancesRequest
- type BatchDeleteInstancesResponse
- type BatchOpsResult
- type BigkeysBody
- type BigkeysBodyType
- type BigkeysBodyTypeEnum
- type BssParam
- type BssParamChargingMode
- type BssParamChargingModeEnum
- type BssParamIsAutoPay
- type BssParamIsAutoPayEnum
- type BssParamIsAutoRenew
- type BssParamIsAutoRenewEnum
- type BssParamPeriodType
- type BssParamPeriodTypeEnum
- type ChangeInstanceStatusBody
- type ChangeMasterStandbyRequest
- type ChangeMasterStandbyResponse
- type ClusterRedisNodeMonitoredObject
- type CopyInstanceRequest
- type CopyInstanceResponse
- type CreateBigkeyScanTaskRequest
- type CreateBigkeyScanTaskResponse
- type CreateBigkeyScanTaskResponseScanType
- type CreateBigkeyScanTaskResponseScanTypeEnum
- type CreateBigkeyScanTaskResponseStatus
- type CreateBigkeyScanTaskResponseStatusEnum
- type CreateHotkeyScanTaskRequest
- type CreateHotkeyScanTaskResponse
- type CreateHotkeyScanTaskResponseScanType
- type CreateHotkeyScanTaskResponseScanTypeEnum
- type CreateHotkeyScanTaskResponseStatus
- type CreateHotkeyScanTaskResponseStatusEnum
- type CreateInstanceBody
- type CreateInstanceRequest
- type CreateInstanceResponse
- type CreateMigrationTaskBody
- type CreateMigrationTaskBodyMigrationMethod
- type CreateMigrationTaskBodyMigrationMethodEnum
- type CreateMigrationTaskBodyMigrationType
- type CreateMigrationTaskBodyMigrationTypeEnum
- type CreateMigrationTaskBodyNetworkType
- type CreateMigrationTaskBodyNetworkTypeEnum
- type CreateMigrationTaskRequest
- type CreateMigrationTaskResponse
- type CreateMigrationTaskResponseStatus
- type CreateMigrationTaskResponseStatusEnum
- type CreateOrDeleteInstanceTags
- type DeleteBackgroundTaskRequest
- type DeleteBackgroundTaskResponse
- type DeleteBackupFileRequest
- type DeleteBackupFileResponse
- type DeleteBigkeyScanTaskRequest
- type DeleteBigkeyScanTaskResponse
- type DeleteHotkeyScanTaskRequest
- type DeleteHotkeyScanTaskResponse
- type DeleteIpFromDomainNameRequest
- type DeleteIpFromDomainNameResponse
- type DeleteMigrateTaskRequest
- type DeleteMigrationTaskRequest
- type DeleteMigrationTaskResponse
- type DeleteSingleInstanceRequest
- type DeleteSingleInstanceResponse
- type DetailsBody
- type DimChild
- type DownloadBackupFilesReq
- type Files
- type FlavorAzObject
- type FlavorsItems
- type HotkeysBody
- type HotkeysBodyType
- type HotkeysBodyTypeEnum
- type InstanceGroupListInfo
- type InstanceListInfo
- type InstanceReplicationDimensionsInfo
- type InstanceReplicationListInfo
- type InstanceReplicationListInfoStatus
- type InstanceReplicationListInfoStatusEnum
- type InstanceRestoreInfo
- type InstanceRestoreInfoStatus
- type InstanceRestoreInfoStatusEnum
- type InstanceStatistic
- type Instances
- type InstancesMonitoredObject
- type LinksItem
- type ListAvailableZonesRequest
- type ListAvailableZonesResponse
- type ListBackgroundTaskRequest
- type ListBackgroundTaskResponse
- type ListBackupFileLinksRequest
- type ListBackupFileLinksResponse
- type ListBackupRecordsRequest
- type ListBackupRecordsResponse
- type ListBigkeyScanTasksRequest
- type ListBigkeyScanTasksRequestStatus
- type ListBigkeyScanTasksRequestStatusEnum
- type ListBigkeyScanTasksResponse
- type ListConfigurationsRequest
- type ListConfigurationsResponse
- type ListConfigurationsResponseConfigStatus
- type ListConfigurationsResponseConfigStatusEnum
- type ListFlavorsRequest
- type ListFlavorsRequestCpuType
- type ListFlavorsRequestCpuTypeEnum
- type ListFlavorsResponse
- type ListGroupReplicationInfoRequest
- type ListGroupReplicationInfoResponse
- type ListHotKeyScanTasksRequest
- type ListHotKeyScanTasksRequestStatus
- type ListHotKeyScanTasksRequestStatusEnum
- type ListHotKeyScanTasksResponse
- type ListInstancesRequest
- type ListInstancesResponse
- type ListMaintenanceWindowsRequest
- type ListMaintenanceWindowsResponse
- type ListMigrationTaskRequest
- type ListMigrationTaskResponse
- type ListMonitoredObjectsOfInstanceRequest
- type ListMonitoredObjectsOfInstanceResponse
- type ListMonitoredObjectsRequest
- type ListMonitoredObjectsResponse
- type ListNumberOfInstancesInDifferentStatusRequest
- type ListNumberOfInstancesInDifferentStatusResponse
- type ListRestoreRecordsRequest
- type ListRestoreRecordsResponse
- type ListSlowlogRequest
- type ListSlowlogRequestSortDir
- type ListSlowlogRequestSortDirEnum
- type ListSlowlogRequestSortKey
- type ListSlowlogRequestSortKeyEnum
- type ListSlowlogResponse
- type ListStatisticsOfRunningInstancesRequest
- type ListStatisticsOfRunningInstancesResponse
- type ListTagsOfTenantRequest
- type ListTagsOfTenantResponse
- type MaintainWindowsEntity
- type MigrationTaskList
- type MigrationTaskListMigrationMethod
- type MigrationTaskListMigrationMethodEnum
- type MigrationTaskListMigrationType
- type MigrationTaskListMigrationTypeEnum
- type MigrationTaskListStatus
- type MigrationTaskListStatusEnum
- type ModifyInstanceBody
- type ModifyInstancePasswordBody
- type ModifyIpWhitelistBody
- type ModifyRedisConfigBody
- type PriorityBody
- type ProxyNodeMonitoredObject
- type QueryRedisConfig
- type QueryTenantQuotaRespQuotas
- type RecordsResponse
- type RecordsResponseScanType
- type RecordsResponseScanTypeEnum
- type RecordsResponseStatus
- type RecordsResponseStatusEnum
- type RedisConfig
- type ResourceTag
- type Resources
- type RestartOrFlushInstancesRequest
- type RestartOrFlushInstancesResponse
- type RestoreInstanceBody
- type RestoreInstanceRequest
- type RestoreInstanceResponse
- type ShowBigkeyAutoscanConfigRequest
- type ShowBigkeyAutoscanConfigResponse
- type ShowBigkeyScanTaskDetailsRequest
- type ShowBigkeyScanTaskDetailsResponse
- type ShowBigkeyScanTaskDetailsResponseScanType
- type ShowBigkeyScanTaskDetailsResponseScanTypeEnum
- type ShowBigkeyScanTaskDetailsResponseStatus
- type ShowBigkeyScanTaskDetailsResponseStatusEnum
- type ShowHotkeyAutoscanConfigRequest
- type ShowHotkeyAutoscanConfigResponse
- type ShowHotkeyTaskDetailsRequest
- type ShowHotkeyTaskDetailsResponse
- type ShowHotkeyTaskDetailsResponseScanType
- type ShowHotkeyTaskDetailsResponseScanTypeEnum
- type ShowHotkeyTaskDetailsResponseStatus
- type ShowHotkeyTaskDetailsResponseStatusEnum
- type ShowInstanceRequest
- type ShowInstanceResponse
- type ShowIpWhitelistRequest
- type ShowIpWhitelistResponse
- type ShowMigrationTaskRequest
- type ShowMigrationTaskResponse
- type ShowMigrationTaskResponseMigrationMethod
- type ShowMigrationTaskResponseMigrationMethodEnum
- type ShowMigrationTaskResponseMigrationType
- type ShowMigrationTaskResponseMigrationTypeEnum
- type ShowMigrationTaskResponseNetworkType
- type ShowMigrationTaskResponseNetworkTypeEnum
- type ShowMigrationTaskResponseStatus
- type ShowMigrationTaskResponseStatusEnum
- type ShowMigrationTaskStatsRequest
- type ShowMigrationTaskStatsResponse
- type ShowQuotaOfTenantRequest
- type ShowQuotaOfTenantResponse
- type ShowTagsRequest
- type ShowTagsResponse
- type SingleBackgroundTask
- type SlowlogItem
- type SourceInstanceBody
- type StatusStatistic
- type StopMigrationTaskRequest
- type StopMigrationTaskResponse
- type StopMigrationTaskResponseMigrationMethod
- type StopMigrationTaskResponseMigrationMethodEnum
- type StopMigrationTaskResponseMigrationType
- type StopMigrationTaskResponseMigrationTypeEnum
- type StopMigrationTaskResponseNetworkType
- type StopMigrationTaskResponseNetworkTypeEnum
- type StopMigrationTaskResponseStatus
- type StopMigrationTaskResponseStatusEnum
- type Tag
- type TargetInstanceBody
- type UpdateBigkeyAutoscanConfigRequest
- type UpdateBigkeyAutoscanConfigResponse
- type UpdateConfigurationsRequest
- type UpdateConfigurationsResponse
- type UpdateHotkeyAutoScanConfigRequest
- type UpdateHotkeyAutoScanConfigResponse
- type UpdateInstanceRequest
- type UpdateInstanceResponse
- type UpdateIpWhitelistRequest
- type UpdateIpWhitelistResponse
- type UpdatePasswordRequest
- type UpdatePasswordResponse
- type UpdatePasswordResponseResult
- type UpdatePasswordResponseResultEnum
- type UpdateSlavePriorityRequest
- type UpdateSlavePriorityResponse
- type Whitelist
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"` }
备份文件列表的结构体
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"`
}
备份实例请求体
func (BackupInstanceBody) String ¶
func (o BackupInstanceBody) String() string
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 BackupRecordResponseStatusEnum ¶
type BackupRecordResponseStatusEnum struct { WAITING BackupRecordResponseStatus BACKUPING BackupRecordResponseStatus SUCCEED BackupRecordResponseStatus FAILED BackupRecordResponseStatus EXPIRED BackupRecordResponseStatus DELETED BackupRecordResponseStatus }
func GetBackupRecordResponseStatusEnum ¶
func GetBackupRecordResponseStatusEnum() BackupRecordResponseStatusEnum
type BatchCreateOrDeleteTagsRequest ¶
type BatchCreateOrDeleteTagsRequest struct { InstanceId string `json:"instance_id"` Body *CreateOrDeleteInstanceTags `json:"body,omitempty"` }
Request Object
func (BatchCreateOrDeleteTagsRequest) String ¶
func (o BatchCreateOrDeleteTagsRequest) String() string
type BatchCreateOrDeleteTagsResponse ¶
type BatchCreateOrDeleteTagsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchCreateOrDeleteTagsResponse) String ¶
func (o BatchCreateOrDeleteTagsResponse) String() 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 ¶
func (o BatchDeleteInstancesRequest) String() string
type BatchDeleteInstancesResponse ¶
type BatchDeleteInstancesResponse struct { Results *[]BatchOpsResult `json:"results,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (BatchDeleteInstancesResponse) String ¶
func (o BatchDeleteInstancesResponse) String() 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"` }
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 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 ¶
func (o ChangeMasterStandbyRequest) String() string
type ChangeMasterStandbyResponse ¶
type ChangeMasterStandbyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ChangeMasterStandbyResponse) String ¶
func (o ChangeMasterStandbyResponse) String() 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 ¶
func (o ClusterRedisNodeMonitoredObject) 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 ¶
func (o CreateBigkeyScanTaskRequest) String() 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 ¶
func (o CreateBigkeyScanTaskResponse) String() 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 CreateBigkeyScanTaskResponseStatusEnum ¶
type CreateBigkeyScanTaskResponseStatusEnum struct { WAITING CreateBigkeyScanTaskResponseStatus RUNNING CreateBigkeyScanTaskResponseStatus SUCCESS CreateBigkeyScanTaskResponseStatus FAILED CreateBigkeyScanTaskResponseStatus }
func GetCreateBigkeyScanTaskResponseStatusEnum ¶
func GetCreateBigkeyScanTaskResponseStatusEnum() CreateBigkeyScanTaskResponseStatusEnum
type CreateHotkeyScanTaskRequest ¶
type CreateHotkeyScanTaskRequest struct {
InstanceId string `json:"instance_id"`
}
Request Object
func (CreateHotkeyScanTaskRequest) String ¶
func (o CreateHotkeyScanTaskRequest) String() 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 ¶
func (o CreateHotkeyScanTaskResponse) String() 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 CreateHotkeyScanTaskResponseStatusEnum ¶
type CreateHotkeyScanTaskResponseStatusEnum struct { WAITING CreateHotkeyScanTaskResponseStatus RUNNING CreateHotkeyScanTaskResponseStatus SUCCESS CreateHotkeyScanTaskResponseStatus FAILED CreateHotkeyScanTaskResponseStatus }
func GetCreateHotkeyScanTaskResponseStatusEnum ¶
func GetCreateHotkeyScanTaskResponseStatusEnum() CreateHotkeyScanTaskResponseStatusEnum
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 ¶
func (o CreateMigrationTaskRequest) String() 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 ¶
func (o CreateMigrationTaskResponse) String() 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 CreateMigrationTaskResponseStatusEnum ¶
type CreateMigrationTaskResponseStatusEnum struct { SUCCESS CreateMigrationTaskResponseStatus FAILED CreateMigrationTaskResponseStatus MIGRATING CreateMigrationTaskResponseStatus TERMINATED CreateMigrationTaskResponseStatus }
func GetCreateMigrationTaskResponseStatusEnum ¶
func GetCreateMigrationTaskResponseStatusEnum() CreateMigrationTaskResponseStatusEnum
type CreateOrDeleteInstanceTags ¶
type CreateOrDeleteInstanceTags struct { Action string `json:"action"` Tags *[]ResourceTag `json:"tags,omitempty"` }
func (CreateOrDeleteInstanceTags) String ¶
func (o CreateOrDeleteInstanceTags) String() string
type DeleteBackgroundTaskRequest ¶
type DeleteBackgroundTaskRequest struct { InstanceId string `json:"instance_id"` TaskId string `json:"task_id"` }
Request Object
func (DeleteBackgroundTaskRequest) String ¶
func (o DeleteBackgroundTaskRequest) String() string
type DeleteBackgroundTaskResponse ¶
type DeleteBackgroundTaskResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteBackgroundTaskResponse) String ¶
func (o DeleteBackgroundTaskResponse) String() 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 ¶
func (o DeleteBigkeyScanTaskRequest) String() string
type DeleteBigkeyScanTaskResponse ¶
type DeleteBigkeyScanTaskResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteBigkeyScanTaskResponse) String ¶
func (o DeleteBigkeyScanTaskResponse) String() string
type DeleteHotkeyScanTaskRequest ¶
type DeleteHotkeyScanTaskRequest struct { InstanceId string `json:"instance_id"` HotkeyId string `json:"hotkey_id"` }
Request Object
func (DeleteHotkeyScanTaskRequest) String ¶
func (o DeleteHotkeyScanTaskRequest) String() string
type DeleteHotkeyScanTaskResponse ¶
type DeleteHotkeyScanTaskResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteHotkeyScanTaskResponse) String ¶
func (o DeleteHotkeyScanTaskResponse) String() 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 ¶
func (o DeleteIpFromDomainNameRequest) String() string
type DeleteIpFromDomainNameResponse ¶
type DeleteIpFromDomainNameResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteIpFromDomainNameResponse) String ¶
func (o DeleteIpFromDomainNameResponse) String() 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 ¶
func (o DeleteMigrationTaskRequest) String() string
type DeleteMigrationTaskResponse ¶
type DeleteMigrationTaskResponse struct { TaskIdList *[]string `json:"task_id_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteMigrationTaskResponse) String ¶
func (o DeleteMigrationTaskResponse) String() string
type DeleteSingleInstanceRequest ¶
type DeleteSingleInstanceRequest struct {
InstanceId string `json:"instance_id"`
}
Request Object
func (DeleteSingleInstanceRequest) String ¶
func (o DeleteSingleInstanceRequest) String() string
type DeleteSingleInstanceResponse ¶
type DeleteSingleInstanceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteSingleInstanceResponse) String ¶
func (o DeleteSingleInstanceResponse) String() 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 DimChild ¶
type DimChild struct { DimName *string `json:"dim_name,omitempty"` DimRoute *string `json:"dim_route,omitempty"` }
维度对象结构体
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"` }
导入的备份文件文件列表。
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"` 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"` 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"` }
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 ¶
func (o InstanceReplicationDimensionsInfo) String() 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 ¶
func (o InstanceReplicationListInfo) String() 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 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 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 ¶
func (o ListAvailableZonesResponse) String() 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 ¶
func (o ListBackgroundTaskResponse) String() 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 ¶
func (o ListBackupFileLinksRequest) String() 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 ¶
func (o ListBackupFileLinksResponse) String() 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 ¶
func (o ListBigkeyScanTasksRequest) String() 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 ListBigkeyScanTasksRequestStatusEnum ¶
type ListBigkeyScanTasksRequestStatusEnum struct { WAITING ListBigkeyScanTasksRequestStatus RUNNING ListBigkeyScanTasksRequestStatus SUCCESS ListBigkeyScanTasksRequestStatus FAILED ListBigkeyScanTasksRequestStatus }
func GetListBigkeyScanTasksRequestStatusEnum ¶
func GetListBigkeyScanTasksRequestStatusEnum() ListBigkeyScanTasksRequestStatusEnum
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 ¶
func (o ListBigkeyScanTasksResponse) String() 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 ¶
func (o ListConfigurationsResponse) String() 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 ListConfigurationsResponseConfigStatusEnum ¶
type ListConfigurationsResponseConfigStatusEnum struct { UPDATING ListConfigurationsResponseConfigStatus FAILURE ListConfigurationsResponseConfigStatus SUCCESS ListConfigurationsResponseConfigStatus }
func GetListConfigurationsResponseConfigStatusEnum ¶
func GetListConfigurationsResponseConfigStatusEnum() ListConfigurationsResponseConfigStatusEnum
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 ¶
func (o ListGroupReplicationInfoRequest) String() 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 ¶
func (o ListGroupReplicationInfoResponse) String() 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 ¶
func (o ListHotKeyScanTasksRequest) String() 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 ListHotKeyScanTasksRequestStatusEnum ¶
type ListHotKeyScanTasksRequestStatusEnum struct { WAITING ListHotKeyScanTasksRequestStatus RUNNING ListHotKeyScanTasksRequestStatus SUCCESS ListHotKeyScanTasksRequestStatus FAILED ListHotKeyScanTasksRequestStatus }
func GetListHotKeyScanTasksRequestStatusEnum ¶
func GetListHotKeyScanTasksRequestStatusEnum() ListHotKeyScanTasksRequestStatusEnum
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 ¶
func (o ListHotKeyScanTasksResponse) String() string
type ListInstancesRequest ¶
type ListInstancesRequest struct { InstanceId *string `json:"instance_id,omitempty"` IncludeFailure *string `json:"include_failure,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 ¶
func (o ListMaintenanceWindowsRequest) String() string
type ListMaintenanceWindowsResponse ¶
type ListMaintenanceWindowsResponse struct { MaintainWindows *[]MaintainWindowsEntity `json:"maintain_windows,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListMaintenanceWindowsResponse) String ¶
func (o ListMaintenanceWindowsResponse) String() 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 ¶
func (o ListMonitoredObjectsOfInstanceRequest) String() 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"` Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListMonitoredObjectsOfInstanceResponse) String ¶
func (o ListMonitoredObjectsOfInstanceResponse) String() 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 ¶
func (o ListMonitoredObjectsRequest) String() 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 ¶
func (o ListMonitoredObjectsResponse) String() string
type ListNumberOfInstancesInDifferentStatusRequest ¶
type ListNumberOfInstancesInDifferentStatusRequest struct {
IncludeFailure *string `json:"include_failure,omitempty"`
}
Request Object
func (ListNumberOfInstancesInDifferentStatusRequest) String ¶
func (o ListNumberOfInstancesInDifferentStatusRequest) String() 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 ¶
func (o ListNumberOfInstancesInDifferentStatusResponse) 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 ¶
func (o ListRestoreRecordsResponse) String() 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 ¶
func (o ListStatisticsOfRunningInstancesRequest) String() string
type ListStatisticsOfRunningInstancesResponse ¶
type ListStatisticsOfRunningInstancesResponse struct { Statistics *[]InstanceStatistic `json:"statistics,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListStatisticsOfRunningInstancesResponse) String ¶
func (o ListStatisticsOfRunningInstancesResponse) String() 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"` TargetInstanceName *string `json:"target_instance_name,omitempty"` DataSource *string `json:"data_source,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"` 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 ¶
func (o ModifyInstancePasswordBody) String() 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 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"` }
监控对象结构
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 ¶
func (o QueryTenantQuotaRespQuotas) String() 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 ResourceTag ¶
func (ResourceTag) String ¶
func (o ResourceTag) String() string
type Resources ¶
type RestartOrFlushInstancesRequest ¶
type RestartOrFlushInstancesRequest struct {
Body *ChangeInstanceStatusBody `json:"body,omitempty"`
}
Request Object
func (RestartOrFlushInstancesRequest) String ¶
func (o RestartOrFlushInstancesRequest) String() string
type RestartOrFlushInstancesResponse ¶
type RestartOrFlushInstancesResponse struct { Results *[]BatchOpsResult `json:"results,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RestartOrFlushInstancesResponse) String ¶
func (o RestartOrFlushInstancesResponse) String() 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 ShowBigkeyAutoscanConfigRequest ¶
type ShowBigkeyAutoscanConfigRequest struct {
InstanceId string `json:"instance_id"`
}
Request Object
func (ShowBigkeyAutoscanConfigRequest) String ¶
func (o ShowBigkeyAutoscanConfigRequest) String() 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 ¶
func (o ShowBigkeyAutoscanConfigResponse) String() string
type ShowBigkeyScanTaskDetailsRequest ¶
type ShowBigkeyScanTaskDetailsRequest struct { InstanceId string `json:"instance_id"` BigkeyId string `json:"bigkey_id"` }
Request Object
func (ShowBigkeyScanTaskDetailsRequest) String ¶
func (o ShowBigkeyScanTaskDetailsRequest) String() 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 ¶
func (o ShowBigkeyScanTaskDetailsResponse) String() string
type ShowBigkeyScanTaskDetailsResponseScanType ¶
type ShowBigkeyScanTaskDetailsResponseScanType struct {
// contains filtered or unexported fields
}
func (ShowBigkeyScanTaskDetailsResponseScanType) MarshalJSON ¶
func (c ShowBigkeyScanTaskDetailsResponseScanType) MarshalJSON() ([]byte, error)
func (*ShowBigkeyScanTaskDetailsResponseScanType) UnmarshalJSON ¶
func (c *ShowBigkeyScanTaskDetailsResponseScanType) UnmarshalJSON(b []byte) error
type ShowBigkeyScanTaskDetailsResponseScanTypeEnum ¶
type ShowBigkeyScanTaskDetailsResponseScanTypeEnum struct { MANUAL ShowBigkeyScanTaskDetailsResponseScanType AUTO ShowBigkeyScanTaskDetailsResponseScanType }
func GetShowBigkeyScanTaskDetailsResponseScanTypeEnum ¶
func GetShowBigkeyScanTaskDetailsResponseScanTypeEnum() ShowBigkeyScanTaskDetailsResponseScanTypeEnum
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 ShowBigkeyScanTaskDetailsResponseStatusEnum ¶
type ShowBigkeyScanTaskDetailsResponseStatusEnum struct { WAITING ShowBigkeyScanTaskDetailsResponseStatus RUNNING ShowBigkeyScanTaskDetailsResponseStatus SUCCESS ShowBigkeyScanTaskDetailsResponseStatus FAILED ShowBigkeyScanTaskDetailsResponseStatus }
func GetShowBigkeyScanTaskDetailsResponseStatusEnum ¶
func GetShowBigkeyScanTaskDetailsResponseStatusEnum() ShowBigkeyScanTaskDetailsResponseStatusEnum
type ShowHotkeyAutoscanConfigRequest ¶
type ShowHotkeyAutoscanConfigRequest struct {
InstanceId string `json:"instance_id"`
}
Request Object
func (ShowHotkeyAutoscanConfigRequest) String ¶
func (o ShowHotkeyAutoscanConfigRequest) String() 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 ¶
func (o ShowHotkeyAutoscanConfigResponse) String() string
type ShowHotkeyTaskDetailsRequest ¶
type ShowHotkeyTaskDetailsRequest struct { InstanceId string `json:"instance_id"` HotkeyId string `json:"hotkey_id"` }
Request Object
func (ShowHotkeyTaskDetailsRequest) String ¶
func (o ShowHotkeyTaskDetailsRequest) String() 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 ¶
func (o ShowHotkeyTaskDetailsResponse) String() 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 ShowHotkeyTaskDetailsResponseStatusEnum ¶
type ShowHotkeyTaskDetailsResponseStatusEnum struct { WAITING ShowHotkeyTaskDetailsResponseStatus RUNNING ShowHotkeyTaskDetailsResponseStatus SUCCESS ShowHotkeyTaskDetailsResponseStatus FAILED ShowHotkeyTaskDetailsResponseStatus }
func GetShowHotkeyTaskDetailsResponseStatusEnum ¶
func GetShowHotkeyTaskDetailsResponseStatusEnum() ShowHotkeyTaskDetailsResponseStatusEnum
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"` 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 (c ShowMigrationTaskResponseMigrationMethod) MarshalJSON() ([]byte, error)
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 ShowMigrationTaskResponseStatusEnum ¶
type ShowMigrationTaskResponseStatusEnum struct { SUCCESS ShowMigrationTaskResponseStatus FAILED ShowMigrationTaskResponseStatus MIGRATING ShowMigrationTaskResponseStatus TERMINATED ShowMigrationTaskResponseStatus }
func GetShowMigrationTaskResponseStatusEnum ¶
func GetShowMigrationTaskResponseStatusEnum() ShowMigrationTaskResponseStatusEnum
type ShowMigrationTaskStatsRequest ¶
type ShowMigrationTaskStatsRequest struct {
TaskId string `json:"task_id"`
}
Request Object
func (ShowMigrationTaskStatsRequest) String ¶
func (o ShowMigrationTaskStatsRequest) String() 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 ¶
func (o ShowMigrationTaskStatsResponse) String() 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 (c StopMigrationTaskResponseMigrationMethod) MarshalJSON() ([]byte, error)
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 StopMigrationTaskResponseStatusEnum ¶
type StopMigrationTaskResponseStatusEnum struct { SUCCESS StopMigrationTaskResponseStatus FAILED StopMigrationTaskResponseStatus MIGRATING StopMigrationTaskResponseStatus TERMINATED StopMigrationTaskResponseStatus }
func GetStopMigrationTaskResponseStatusEnum ¶
func GetStopMigrationTaskResponseStatusEnum() StopMigrationTaskResponseStatusEnum
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 ¶
func (o UpdateBigkeyAutoscanConfigRequest) String() 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 ¶
func (o UpdateBigkeyAutoscanConfigResponse) String() string
type UpdateConfigurationsRequest ¶
type UpdateConfigurationsRequest struct { InstanceId string `json:"instance_id"` Body *ModifyRedisConfigBody `json:"body,omitempty"` }
Request Object
func (UpdateConfigurationsRequest) String ¶
func (o UpdateConfigurationsRequest) String() string
type UpdateConfigurationsResponse ¶
type UpdateConfigurationsResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateConfigurationsResponse) String ¶
func (o UpdateConfigurationsResponse) String() string
type UpdateHotkeyAutoScanConfigRequest ¶
type UpdateHotkeyAutoScanConfigRequest struct { InstanceId string `json:"instance_id"` Body *AutoscanConfigRequest `json:"body,omitempty"` }
Request Object
func (UpdateHotkeyAutoScanConfigRequest) String ¶
func (o UpdateHotkeyAutoScanConfigRequest) String() 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 ¶
func (o UpdateHotkeyAutoScanConfigResponse) String() 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 ¶
func (o UpdateSlavePriorityRequest) String() string
type UpdateSlavePriorityResponse ¶
type UpdateSlavePriorityResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateSlavePriorityResponse) String ¶
func (o UpdateSlavePriorityResponse) String() string
Source Files ¶
- model_attrs_object.go
- model_autoscan_config_request.go
- model_available_zones.go
- model_backup_files_body.go
- model_backup_instance_body.go
- model_backup_plan.go
- model_backup_policy.go
- model_backup_record_response.go
- model_batch_create_or_delete_tags_request.go
- model_batch_create_or_delete_tags_response.go
- model_batch_delete_body.go
- model_batch_delete_instances_request.go
- model_batch_delete_instances_response.go
- model_batch_ops_result.go
- model_bigkeys_body.go
- model_bss_param.go
- model_change_instance_status_body.go
- model_change_master_standby_request.go
- model_change_master_standby_response.go
- model_cluster_redis_node_monitored_object.go
- model_copy_instance_request.go
- model_copy_instance_response.go
- model_create_bigkey_scan_task_request.go
- model_create_bigkey_scan_task_response.go
- model_create_hotkey_scan_task_request.go
- model_create_hotkey_scan_task_response.go
- model_create_instance_body.go
- model_create_instance_request.go
- model_create_instance_response.go
- model_create_migration_task_body.go
- model_create_migration_task_request.go
- model_create_migration_task_response.go
- model_create_or_delete_instance_tags.go
- model_delete_background_task_request.go
- model_delete_background_task_response.go
- model_delete_backup_file_request.go
- model_delete_backup_file_response.go
- model_delete_bigkey_scan_task_request.go
- model_delete_bigkey_scan_task_response.go
- model_delete_hotkey_scan_task_request.go
- model_delete_hotkey_scan_task_response.go
- model_delete_ip_from_domain_name_request.go
- model_delete_ip_from_domain_name_response.go
- model_delete_migrate_task_request.go
- model_delete_migration_task_request.go
- model_delete_migration_task_response.go
- model_delete_single_instance_request.go
- model_delete_single_instance_response.go
- model_details_body.go
- model_dim_child.go
- model_download_backup_files_req.go
- model_files.go
- model_flavor_az_object.go
- model_flavors_items.go
- model_hotkeys_body.go
- model_instance_group_list_info.go
- model_instance_list_info.go
- model_instance_replication_dimensions_info.go
- model_instance_replication_list_info.go
- model_instance_restore_info.go
- model_instance_statistic.go
- model_instances.go
- model_instances_monitored_object.go
- model_links_item.go
- model_list_available_zones_request.go
- model_list_available_zones_response.go
- model_list_background_task_request.go
- model_list_background_task_response.go
- model_list_backup_file_links_request.go
- model_list_backup_file_links_response.go
- model_list_backup_records_request.go
- model_list_backup_records_response.go
- model_list_bigkey_scan_tasks_request.go
- model_list_bigkey_scan_tasks_response.go
- model_list_configurations_request.go
- model_list_configurations_response.go
- model_list_flavors_request.go
- model_list_flavors_response.go
- model_list_group_replication_info_request.go
- model_list_group_replication_info_response.go
- model_list_hot_key_scan_tasks_request.go
- model_list_hot_key_scan_tasks_response.go
- model_list_instances_request.go
- model_list_instances_response.go
- model_list_maintenance_windows_request.go
- model_list_maintenance_windows_response.go
- model_list_migration_task_request.go
- model_list_migration_task_response.go
- model_list_monitored_objects_of_instance_request.go
- model_list_monitored_objects_of_instance_response.go
- model_list_monitored_objects_request.go
- model_list_monitored_objects_response.go
- model_list_number_of_instances_in_different_status_request.go
- model_list_number_of_instances_in_different_status_response.go
- model_list_restore_records_request.go
- model_list_restore_records_response.go
- model_list_slowlog_request.go
- model_list_slowlog_response.go
- model_list_statistics_of_running_instances_request.go
- model_list_statistics_of_running_instances_response.go
- model_list_tags_of_tenant_request.go
- model_list_tags_of_tenant_response.go
- model_maintain_windows_entity.go
- model_migration_task_list.go
- model_modify_instance_body.go
- model_modify_instance_password_body.go
- model_modify_ip_whitelist_body.go
- model_modify_redis_config_body.go
- model_priority_body.go
- model_proxy_node_monitored_object.go
- model_query_redis_config.go
- model_query_tenant_quota_resp_quotas.go
- model_records_response.go
- model_redis_config.go
- model_resource_tag.go
- model_resources.go
- model_restart_or_flush_instances_request.go
- model_restart_or_flush_instances_response.go
- model_restore_instance_body.go
- model_restore_instance_request.go
- model_restore_instance_response.go
- model_show_bigkey_autoscan_config_request.go
- model_show_bigkey_autoscan_config_response.go
- model_show_bigkey_scan_task_details_request.go
- model_show_bigkey_scan_task_details_response.go
- model_show_hotkey_autoscan_config_request.go
- model_show_hotkey_autoscan_config_response.go
- model_show_hotkey_task_details_request.go
- model_show_hotkey_task_details_response.go
- model_show_instance_request.go
- model_show_instance_response.go
- model_show_ip_whitelist_request.go
- model_show_ip_whitelist_response.go
- model_show_migration_task_request.go
- model_show_migration_task_response.go
- model_show_migration_task_stats_request.go
- model_show_migration_task_stats_response.go
- model_show_quota_of_tenant_request.go
- model_show_quota_of_tenant_response.go
- model_show_tags_request.go
- model_show_tags_response.go
- model_single_background_task.go
- model_slowlog_item.go
- model_source_instance_body.go
- model_status_statistic.go
- model_stop_migration_task_request.go
- model_stop_migration_task_response.go
- model_tag.go
- model_target_instance_body.go
- model_update_bigkey_autoscan_config_request.go
- model_update_bigkey_autoscan_config_response.go
- model_update_configurations_request.go
- model_update_configurations_response.go
- model_update_hotkey_auto_scan_config_request.go
- model_update_hotkey_auto_scan_config_response.go
- model_update_instance_request.go
- model_update_instance_response.go
- model_update_ip_whitelist_request.go
- model_update_ip_whitelist_response.go
- model_update_password_request.go
- model_update_password_response.go
- model_update_slave_priority_request.go
- model_update_slave_priority_response.go
- model_whitelist.go