Documentation ¶
Index ¶
- type AddShardingNodeRequest
- type AddShardingNodeResponse
- type AddShardingNodeVolumeOption
- type ApiVersion
- type AttachEipRequest
- type AttachEipRequestBody
- type AttachEipResponse
- type AttachInternalIpRequest
- type AttachInternalIpRequestBody
- type AttachInternalIpResponse
- type BackupDatabase
- type BackupForList
- type BackupForListStatus
- type BackupForListStatusEnum
- type BackupForListType
- type BackupForListTypeEnum
- type BackupPolicy
- type BackupPolicyItem
- type BackupStrategy
- type BackupStrategyForItemResponse
- type BalancerActiveWindow
- type BatchOperateInstanceTagRequestBody
- type BatchOperateInstanceTagRequestBodyAction
- type BatchOperateInstanceTagRequestBodyActionEnum
- type BatchTagActionRequest
- type BatchTagActionResponse
- type CancelEipRequest
- type CancelEipResponse
- type CheckPasswordRequest
- type CheckPasswordRequestBody
- type CheckPasswordResponse
- type CreateDatabaseRoleRequest
- type CreateDatabaseRoleRequestBody
- type CreateDatabaseRoleResponse
- type CreateDatabaseUserRequest
- type CreateDatabaseUserRequestBody
- type CreateDatabaseUserResponse
- type CreateInstanceFlavorOption
- type CreateInstanceFlavorOptionType
- type CreateInstanceFlavorOptionTypeEnum
- type CreateInstanceRequest
- type CreateInstanceRequestBody
- type CreateInstanceResponse
- type CreateIpRequest
- type CreateIpRequestBody
- type CreateIpResponse
- type CreateManualBackupOption
- type CreateManualBackupRequest
- type CreateManualBackupRequestBody
- type CreateManualBackupResponse
- type Datastore
- type DatastoreItem
- type DatastoreStorageEngine
- type DatastoreStorageEngineEnum
- type DatastoreType
- type DatastoreTypeEnum
- type DeleteDatabaseRoleRequest
- type DeleteDatabaseRoleRequestBody
- type DeleteDatabaseRoleResponse
- type DeleteDatabaseUserRequest
- type DeleteDatabaseUserRequestBody
- type DeleteDatabaseUserResponse
- type DeleteInstanceRequest
- type DeleteInstanceResponse
- type DeleteManualBackupRequest
- type DeleteManualBackupResponse
- type DeleteSessionRequest
- type DeleteSessionRequestBody
- type DeleteSessionResponse
- type DownloadErrorlogRequest
- type DownloadErrorlogRequestBody
- type DownloadErrorlogResponse
- type DownloadSlowlogRequest
- type DownloadSlowlogRequestBody
- type DownloadSlowlogResponse
- type DownloadSlowlogResult
- type DssPoolInfo
- type EnlargeInstanceRequestBody
- type EnlargeInstanceRequestBodyType
- type EnlargeInstanceRequestBodyTypeEnum
- type ErrorResponse
- type ErrorlogResult
- type Flavor
- type GetBackupDownloadLinkResponseBodyFiles
- type GroupResponseItem
- type InstanceItem
- type InstanceItemTagItem
- type Links
- type ListApiVersionRequest
- type ListApiVersionResponse
- type ListAuditlogLinksRequest
- type ListAuditlogLinksResponse
- type ListAuditlogsRequest
- type ListAuditlogsResponse
- type ListAuditlogsResult
- type ListBackupsRequest
- type ListBackupsRequestBackupType
- type ListBackupsRequestBackupTypeEnum
- type ListBackupsRequestMode
- type ListBackupsRequestModeEnum
- type ListBackupsResponse
- type ListDatabaseRolesRequest
- type ListDatabaseRolesResponse
- type ListDatabaseUsersRequest
- type ListDatabaseUsersResponse
- type ListDatastoreVersionsRequest
- type ListDatastoreVersionsRequestDatastoreName
- type ListDatastoreVersionsRequestDatastoreNameEnum
- type ListDatastoreVersionsResponse
- type ListErrorLogsRequest
- type ListErrorLogsRequestType
- type ListErrorLogsRequestTypeEnum
- type ListErrorLogsResponse
- type ListFlavorsRequest
- type ListFlavorsRequestEngineName
- type ListFlavorsRequestEngineNameEnum
- type ListFlavorsResponse
- type ListInstanceTagsRequest
- type ListInstanceTagsResponse
- type ListInstancesByTagsRequest
- type ListInstancesByTagsRequestBody
- type ListInstancesByTagsRequestBodyAction
- type ListInstancesByTagsRequestBodyActionEnum
- type ListInstancesByTagsResponse
- type ListInstancesRequest
- type ListInstancesRequestDatastoreType
- type ListInstancesRequestDatastoreTypeEnum
- type ListInstancesRequestMode
- type ListInstancesRequestModeEnum
- type ListInstancesResponse
- type ListProjectTagsRequest
- type ListProjectTagsResponse
- type ListRestoreCollectionsRequest
- type ListRestoreCollectionsResponse
- type ListRestoreDatabasesRequest
- type ListRestoreDatabasesResponse
- type ListRestoreTimesRequest
- type ListRestoreTimesResponse
- type ListRestoreTimesResponseBodyRestoreTime
- type ListSessionsRequest
- type ListSessionsResponse
- type ListSlowLogsRequest
- type ListSlowLogsRequestType
- type ListSlowLogsRequestTypeEnum
- type ListSlowLogsResponse
- type ListStorageTypeRequest
- type ListStorageTypeRequestEngineName
- type ListStorageTypeRequestEngineNameEnum
- type ListStorageTypeResponse
- type NodeItem
- type ProduceAuditlogLinksRequestBody
- type QueryConnectionsResponse
- type QueryInstanceResponse
- type QueryMatchItem
- type QueryMatchItemKey
- type QueryMatchItemKeyEnum
- type QueryProjectTagItem
- type QueryResourceTagItem
- type QuerySessionResponse
- type QueryTagItem
- type ResetPasswordRequest
- type ResetPasswordRequestBody
- type ResetPasswordResponse
- type ResizeInstanceOption
- type ResizeInstanceOptionTargetType
- type ResizeInstanceOptionTargetTypeEnum
- type ResizeInstanceRequest
- type ResizeInstanceRequestBody
- type ResizeInstanceResponse
- type ResizeInstanceVolumeOption
- type ResizeInstanceVolumeRequest
- type ResizeInstanceVolumeRequestBody
- type ResizeInstanceVolumeResponse
- type RestartInstanceRequest
- type RestartInstanceRequestBody
- type RestartInstanceRequestBodyTargetType
- type RestartInstanceRequestBodyTargetTypeEnum
- type RestartInstanceResponse
- type RestoreInstanceFromCollectionRequest
- type RestoreInstanceFromCollectionRequestBody
- type RestoreInstanceFromCollectionRequestBodyCollections
- type RestoreInstanceFromCollectionRequestBodyRestoreCollections
- type RestoreInstanceFromCollectionResponse
- type RestoreInstanceRequest
- type RestoreInstanceRequestBody
- type RestoreInstanceResponse
- type RestoreNewInstanceFlavorOption
- type RestoreNewInstanceFlavorOptionType
- type RestoreNewInstanceFlavorOptionTypeEnum
- type RestoreNewInstanceRequest
- type RestoreNewInstanceRequestBody
- type RestoreNewInstanceResponse
- type RestorePoint
- type RolesOption
- type SetAuditlogPolicyRequest
- type SetAuditlogPolicyRequestBody
- type SetAuditlogPolicyResponse
- type SetBackupPolicyRequest
- type SetBackupPolicyRequestBody
- type SetBackupPolicyResponse
- type SetBalancerSwitchRequest
- type SetBalancerSwitchRequestAction
- type SetBalancerSwitchRequestActionEnum
- type SetBalancerSwitchResponse
- type SetBalancerWindowRequest
- type SetBalancerWindowResponse
- type ShowApiVersionRequest
- type ShowApiVersionResponse
- type ShowAuditlogPolicyRequest
- type ShowAuditlogPolicyResponse
- type ShowBackupDownloadLinkRequest
- type ShowBackupDownloadLinkResponse
- type ShowBackupPolicyRequest
- type ShowBackupPolicyResponse
- type ShowConnectionStatisticsRequest
- type ShowConnectionStatisticsResponse
- type ShowShardingBalancerRequest
- type ShowShardingBalancerResponse
- type SlowlogResult
- type Source
- type Storage
- type SwitchSslRequest
- type SwitchSslRequestBody
- type SwitchSslResponse
- type SwitchoverReplicaSetRequest
- type SwitchoverReplicaSetResponse
- type TagItem
- type Target
- type UpdateInstanceNameRequest
- type UpdateInstanceNameResponse
- type UpdateInstancePortRequest
- type UpdateInstancePortResponse
- type UpdateNameRequestBody
- type UpdatePortRequestBody
- type UpdateSecurityGroupRequest
- type UpdateSecurityGroupRequestBody
- type UpdateSecurityGroupResponse
- type Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddShardingNodeRequest ¶
type AddShardingNodeRequest struct { InstanceId string `json:"instance_id"` Body *EnlargeInstanceRequestBody `json:"body,omitempty"` }
Request Object
func (AddShardingNodeRequest) String ¶
func (o AddShardingNodeRequest) String() string
type AddShardingNodeResponse ¶
type AddShardingNodeResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AddShardingNodeResponse) String ¶
func (o AddShardingNodeResponse) String() string
type AddShardingNodeVolumeOption ¶
type AddShardingNodeVolumeOption struct {
Size string `json:"size"`
}
func (AddShardingNodeVolumeOption) String ¶
func (o AddShardingNodeVolumeOption) String() string
type ApiVersion ¶
type ApiVersion struct { Id string `json:"id"` Links []Links `json:"links"` Status string `json:"status"` Version string `json:"version"` MinVersion string `json:"min_version"` Updated string `json:"updated"` }
API版本详细信息列表。
func (ApiVersion) String ¶
func (o ApiVersion) String() string
type AttachEipRequest ¶
type AttachEipRequest struct { NodeId string `json:"node_id"` Body *AttachEipRequestBody `json:"body,omitempty"` }
Request Object
func (AttachEipRequest) String ¶
func (o AttachEipRequest) String() string
type AttachEipRequestBody ¶
type AttachEipRequestBody struct { PublicIpId string `json:"public_ip_id"` PublicIp string `json:"public_ip"` }
func (AttachEipRequestBody) String ¶
func (o AttachEipRequestBody) String() string
type AttachEipResponse ¶
type AttachEipResponse struct { JobId *string `json:"job_id,omitempty"` NodeId *string `json:"node_id,omitempty"` NodeName *string `json:"node_name,omitempty"` PublicIpId *string `json:"public_ip_id,omitempty"` PublicIp *string `json:"public_ip,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AttachEipResponse) String ¶
func (o AttachEipResponse) String() string
type AttachInternalIpRequest ¶
type AttachInternalIpRequest struct { InstanceId string `json:"instance_id"` Body *AttachInternalIpRequestBody `json:"body,omitempty"` }
Request Object
func (AttachInternalIpRequest) String ¶
func (o AttachInternalIpRequest) String() string
type AttachInternalIpRequestBody ¶
type AttachInternalIpRequestBody struct { NodeId string `json:"node_id"` NewIp string `json:"new_ip"` }
func (AttachInternalIpRequestBody) String ¶
func (o AttachInternalIpRequestBody) String() string
type AttachInternalIpResponse ¶
type AttachInternalIpResponse struct { JobId *string `json:"job_id,omitempty"` NodeId *string `json:"node_id,omitempty"` NewIp *string `json:"new_ip,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (AttachInternalIpResponse) String ¶
func (o AttachInternalIpResponse) String() string
type BackupDatabase ¶
func (BackupDatabase) String ¶
func (o BackupDatabase) String() string
type BackupForList ¶
type BackupForList struct { Id string `json:"id"` Name string `json:"name"` InstanceId string `json:"instance_id"` InstanceName string `json:"instance_name"` Datastore *BackupDatabase `json:"datastore"` Type BackupForListType `json:"type"` BeginTime string `json:"begin_time"` EndTime string `json:"end_time"` Status BackupForListStatus `json:"status"` Size int64 `json:"size"` Description string `json:"description"` }
备份信息。
func (BackupForList) String ¶
func (o BackupForList) String() string
type BackupForListStatus ¶
type BackupForListStatus struct {
// contains filtered or unexported fields
}
func (BackupForListStatus) MarshalJSON ¶
func (c BackupForListStatus) MarshalJSON() ([]byte, error)
func (*BackupForListStatus) UnmarshalJSON ¶
func (c *BackupForListStatus) UnmarshalJSON(b []byte) error
type BackupForListStatusEnum ¶
type BackupForListStatusEnum struct { BUILDING BackupForListStatus COMPLETED BackupForListStatus FAILED BackupForListStatus DELETING BackupForListStatus }
func GetBackupForListStatusEnum ¶
func GetBackupForListStatusEnum() BackupForListStatusEnum
type BackupForListType ¶
type BackupForListType struct {
// contains filtered or unexported fields
}
func (BackupForListType) MarshalJSON ¶
func (c BackupForListType) MarshalJSON() ([]byte, error)
func (*BackupForListType) UnmarshalJSON ¶
func (c *BackupForListType) UnmarshalJSON(b []byte) error
type BackupForListTypeEnum ¶
type BackupForListTypeEnum struct { AUTO BackupForListType MANUAL BackupForListType FRAGMENT BackupForListType INCREMENTAL BackupForListType }
func GetBackupForListTypeEnum ¶
func GetBackupForListTypeEnum() BackupForListTypeEnum
type BackupPolicy ¶
type BackupPolicy struct { KeepDays string `json:"keep_days"` StartTime *string `json:"start_time,omitempty"` Period *string `json:"period,omitempty"` }
备份策略对象,包括备份保留的天数和备份开始时间。
func (BackupPolicy) String ¶
func (o BackupPolicy) String() string
type BackupPolicyItem ¶
type BackupPolicyItem struct { KeepDays int32 `json:"keep_days"` StartTime *string `json:"start_time,omitempty"` Period *string `json:"period,omitempty"` }
备份策略对象,包括备份保留的天数和备份开始时间。
func (BackupPolicyItem) String ¶
func (o BackupPolicyItem) String() string
type BackupStrategy ¶
type BackupStrategy struct { StartTime string `json:"start_time"` KeepDays *string `json:"keep_days,omitempty"` }
高级备份策略。
func (BackupStrategy) String ¶
func (o BackupStrategy) String() string
type BackupStrategyForItemResponse ¶
type BackupStrategyForItemResponse struct { StartTime string `json:"start_time"` KeepDays int32 `json:"keep_days"` }
自动备份策略。
func (BackupStrategyForItemResponse) String ¶
func (o BackupStrategyForItemResponse) String() string
type BalancerActiveWindow ¶
type BalancerActiveWindow struct { StartTime string `json:"start_time"` StopTime string `json:"stop_time"` }
活动时间窗设置。
func (BalancerActiveWindow) String ¶
func (o BalancerActiveWindow) String() string
type BatchOperateInstanceTagRequestBody ¶
type BatchOperateInstanceTagRequestBody struct { Action BatchOperateInstanceTagRequestBodyAction `json:"action"` Tags []TagItem `json:"tags"` }
func (BatchOperateInstanceTagRequestBody) String ¶
func (o BatchOperateInstanceTagRequestBody) String() string
type BatchOperateInstanceTagRequestBodyAction ¶
type BatchOperateInstanceTagRequestBodyAction struct {
// contains filtered or unexported fields
}
func (BatchOperateInstanceTagRequestBodyAction) MarshalJSON ¶
func (c BatchOperateInstanceTagRequestBodyAction) MarshalJSON() ([]byte, error)
func (*BatchOperateInstanceTagRequestBodyAction) UnmarshalJSON ¶
func (c *BatchOperateInstanceTagRequestBodyAction) UnmarshalJSON(b []byte) error
type BatchOperateInstanceTagRequestBodyActionEnum ¶
type BatchOperateInstanceTagRequestBodyActionEnum struct { CREATE BatchOperateInstanceTagRequestBodyAction DELETE BatchOperateInstanceTagRequestBodyAction }
func GetBatchOperateInstanceTagRequestBodyActionEnum ¶
func GetBatchOperateInstanceTagRequestBodyActionEnum() BatchOperateInstanceTagRequestBodyActionEnum
type BatchTagActionRequest ¶
type BatchTagActionRequest struct { InstanceId string `json:"instance_id"` Body *BatchOperateInstanceTagRequestBody `json:"body,omitempty"` }
Request Object
func (BatchTagActionRequest) String ¶
func (o BatchTagActionRequest) String() string
type BatchTagActionResponse ¶
type BatchTagActionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (BatchTagActionResponse) String ¶
func (o BatchTagActionResponse) String() string
type CancelEipRequest ¶
type CancelEipRequest struct {
NodeId string `json:"node_id"`
}
Request Object
func (CancelEipRequest) String ¶
func (o CancelEipRequest) String() string
type CancelEipResponse ¶
type CancelEipResponse struct { JobId *string `json:"job_id,omitempty"` NodeId *string `json:"node_id,omitempty"` NodeName *string `json:"node_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CancelEipResponse) String ¶
func (o CancelEipResponse) String() string
type CheckPasswordRequest ¶
type CheckPasswordRequest struct { InstanceId string `json:"instance_id"` Body *CheckPasswordRequestBody `json:"body,omitempty"` }
Request Object
func (CheckPasswordRequest) String ¶
func (o CheckPasswordRequest) String() string
type CheckPasswordRequestBody ¶
type CheckPasswordRequestBody struct { UserPwd string `json:"user_pwd"` UserName *string `json:"user_name,omitempty"` DbName *string `json:"db_name,omitempty"` }
func (CheckPasswordRequestBody) String ¶
func (o CheckPasswordRequestBody) String() string
type CheckPasswordResponse ¶
type CheckPasswordResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CheckPasswordResponse) String ¶
func (o CheckPasswordResponse) String() string
type CreateDatabaseRoleRequest ¶
type CreateDatabaseRoleRequest struct { InstanceId string `json:"instance_id"` Body *CreateDatabaseRoleRequestBody `json:"body,omitempty"` }
Request Object
func (CreateDatabaseRoleRequest) String ¶
func (o CreateDatabaseRoleRequest) String() string
type CreateDatabaseRoleRequestBody ¶
type CreateDatabaseRoleRequestBody struct { RoleName string `json:"role_name"` DbName *string `json:"db_name,omitempty"` Roles *[]RolesOption `json:"roles,omitempty"` }
func (CreateDatabaseRoleRequestBody) String ¶
func (o CreateDatabaseRoleRequestBody) String() string
type CreateDatabaseRoleResponse ¶
type CreateDatabaseRoleResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateDatabaseRoleResponse) String ¶
func (o CreateDatabaseRoleResponse) String() string
type CreateDatabaseUserRequest ¶
type CreateDatabaseUserRequest struct { InstanceId string `json:"instance_id"` Body *CreateDatabaseUserRequestBody `json:"body,omitempty"` }
Request Object
func (CreateDatabaseUserRequest) String ¶
func (o CreateDatabaseUserRequest) String() string
type CreateDatabaseUserRequestBody ¶
type CreateDatabaseUserRequestBody struct { UserName string `json:"user_name"` UserPwd string `json:"user_pwd"` DbName *string `json:"db_name,omitempty"` Roles []RolesOption `json:"roles"` }
func (CreateDatabaseUserRequestBody) String ¶
func (o CreateDatabaseUserRequestBody) String() string
type CreateDatabaseUserResponse ¶
type CreateDatabaseUserResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateDatabaseUserResponse) String ¶
func (o CreateDatabaseUserResponse) String() string
type CreateInstanceFlavorOption ¶
type CreateInstanceFlavorOption struct { Type CreateInstanceFlavorOptionType `json:"type"` Num string `json:"num"` Storage *string `json:"storage,omitempty"` Size *string `json:"size,omitempty"` SpecCode string `json:"spec_code"` }
实例规格详情。
func (CreateInstanceFlavorOption) String ¶
func (o CreateInstanceFlavorOption) String() string
type CreateInstanceFlavorOptionType ¶
type CreateInstanceFlavorOptionType struct {
// contains filtered or unexported fields
}
func (CreateInstanceFlavorOptionType) MarshalJSON ¶
func (c CreateInstanceFlavorOptionType) MarshalJSON() ([]byte, error)
func (*CreateInstanceFlavorOptionType) UnmarshalJSON ¶
func (c *CreateInstanceFlavorOptionType) UnmarshalJSON(b []byte) error
type CreateInstanceFlavorOptionTypeEnum ¶
type CreateInstanceFlavorOptionTypeEnum struct { MONGOS CreateInstanceFlavorOptionType SHARD CreateInstanceFlavorOptionType CONFIG CreateInstanceFlavorOptionType REPLICA CreateInstanceFlavorOptionType SINGLE CreateInstanceFlavorOptionType }
func GetCreateInstanceFlavorOptionTypeEnum ¶
func GetCreateInstanceFlavorOptionTypeEnum() CreateInstanceFlavorOptionTypeEnum
type CreateInstanceRequest ¶
type CreateInstanceRequest struct {
Body *CreateInstanceRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateInstanceRequest) String ¶
func (o CreateInstanceRequest) String() string
type CreateInstanceRequestBody ¶
type CreateInstanceRequestBody struct { Name string `json:"name"` Datastore *Datastore `json:"datastore"` Region string `json:"region"` AvailabilityZone string `json:"availability_zone"` VpcId string `json:"vpc_id"` SubnetId string `json:"subnet_id"` SecurityGroupId string `json:"security_group_id"` Password *string `json:"password,omitempty"` DiskEncryptionId *string `json:"disk_encryption_id,omitempty"` Mode string `json:"mode"` Flavor []CreateInstanceFlavorOption `json:"flavor"` BackupStrategy *BackupStrategy `json:"backup_strategy,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` SslOption *string `json:"ssl_option,omitempty"` DssPoolId *string `json:"dss_pool_id,omitempty"` ServerGroupPolicies *[]string `json:"server_group_policies,omitempty"` }
实例信息。
func (CreateInstanceRequestBody) String ¶
func (o CreateInstanceRequestBody) String() string
type CreateInstanceResponse ¶
type CreateInstanceResponse struct { Id *string `json:"id,omitempty"` Datastore *Datastore `json:"datastore,omitempty"` Name *string `json:"name,omitempty"` Created *string `json:"created,omitempty"` Status *string `json:"status,omitempty"` Region *string `json:"region,omitempty"` AvailabilityZone *string `json:"availability_zone,omitempty"` VpcId *string `json:"vpc_id,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` SecurityGroupId *string `json:"security_group_id,omitempty"` DiskEncryptionId *string `json:"disk_encryption_id,omitempty"` Mode *string `json:"mode,omitempty"` Flavor *[]CreateInstanceFlavorOption `json:"flavor,omitempty"` BackupStrategy *BackupStrategy `json:"backup_strategy,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` SslOption *string `json:"ssl_option,omitempty"` DssPoolId *string `json:"dss_pool_id,omitempty"` JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateInstanceResponse) String ¶
func (o CreateInstanceResponse) String() string
type CreateIpRequest ¶
type CreateIpRequest struct { InstanceId string `json:"instance_id"` Body *CreateIpRequestBody `json:"body,omitempty"` }
Request Object
func (CreateIpRequest) String ¶
func (o CreateIpRequest) String() string
type CreateIpRequestBody ¶
type CreateIpRequestBody struct { Type string `json:"type"` TargetId *string `json:"target_id,omitempty"` Password string `json:"password"` }
func (CreateIpRequestBody) String ¶
func (o CreateIpRequestBody) String() string
type CreateIpResponse ¶
type CreateIpResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateIpResponse) String ¶
func (o CreateIpResponse) String() string
type CreateManualBackupOption ¶
type CreateManualBackupOption struct { InstanceId string `json:"instance_id"` Name string `json:"name"` Description *string `json:"description,omitempty"` }
备份参数对象。
func (CreateManualBackupOption) String ¶
func (o CreateManualBackupOption) String() string
type CreateManualBackupRequest ¶
type CreateManualBackupRequest struct {
Body *CreateManualBackupRequestBody `json:"body,omitempty"`
}
Request Object
func (CreateManualBackupRequest) String ¶
func (o CreateManualBackupRequest) String() string
type CreateManualBackupRequestBody ¶
type CreateManualBackupRequestBody struct {
Backup *CreateManualBackupOption `json:"backup"`
}
func (CreateManualBackupRequestBody) String ¶
func (o CreateManualBackupRequestBody) String() string
type CreateManualBackupResponse ¶
type CreateManualBackupResponse struct { BackupId *string `json:"backup_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateManualBackupResponse) String ¶
func (o CreateManualBackupResponse) String() string
type Datastore ¶
type Datastore struct { Type DatastoreType `json:"type"` Version string `json:"version"` StorageEngine DatastoreStorageEngine `json:"storage_engine"` }
数据库信息。
type DatastoreStorageEngine ¶
type DatastoreStorageEngine struct {
// contains filtered or unexported fields
}
func (DatastoreStorageEngine) MarshalJSON ¶
func (c DatastoreStorageEngine) MarshalJSON() ([]byte, error)
func (*DatastoreStorageEngine) UnmarshalJSON ¶
func (c *DatastoreStorageEngine) UnmarshalJSON(b []byte) error
type DatastoreStorageEngineEnum ¶
type DatastoreStorageEngineEnum struct { WIRED_TIGER DatastoreStorageEngine ROCKS_DB DatastoreStorageEngine }
func GetDatastoreStorageEngineEnum ¶
func GetDatastoreStorageEngineEnum() DatastoreStorageEngineEnum
type DatastoreType ¶
type DatastoreType struct {
// contains filtered or unexported fields
}
func (DatastoreType) MarshalJSON ¶
func (c DatastoreType) MarshalJSON() ([]byte, error)
func (*DatastoreType) UnmarshalJSON ¶
func (c *DatastoreType) UnmarshalJSON(b []byte) error
type DatastoreTypeEnum ¶
type DatastoreTypeEnum struct {
DDS_COMMUNITY DatastoreType
}
func GetDatastoreTypeEnum ¶
func GetDatastoreTypeEnum() DatastoreTypeEnum
type DeleteDatabaseRoleRequest ¶
type DeleteDatabaseRoleRequest struct { InstanceId string `json:"instance_id"` Body *DeleteDatabaseRoleRequestBody `json:"body,omitempty"` }
Request Object
func (DeleteDatabaseRoleRequest) String ¶
func (o DeleteDatabaseRoleRequest) String() string
type DeleteDatabaseRoleRequestBody ¶
type DeleteDatabaseRoleRequestBody struct { RoleName string `json:"role_name"` DbName string `json:"db_name"` }
func (DeleteDatabaseRoleRequestBody) String ¶
func (o DeleteDatabaseRoleRequestBody) String() string
type DeleteDatabaseRoleResponse ¶
type DeleteDatabaseRoleResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteDatabaseRoleResponse) String ¶
func (o DeleteDatabaseRoleResponse) String() string
type DeleteDatabaseUserRequest ¶
type DeleteDatabaseUserRequest struct { InstanceId string `json:"instance_id"` Body *DeleteDatabaseUserRequestBody `json:"body,omitempty"` }
Request Object
func (DeleteDatabaseUserRequest) String ¶
func (o DeleteDatabaseUserRequest) String() string
type DeleteDatabaseUserRequestBody ¶
type DeleteDatabaseUserRequestBody struct { UserName string `json:"user_name"` DbName string `json:"db_name"` }
func (DeleteDatabaseUserRequestBody) String ¶
func (o DeleteDatabaseUserRequestBody) String() string
type DeleteDatabaseUserResponse ¶
type DeleteDatabaseUserResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteDatabaseUserResponse) String ¶
func (o DeleteDatabaseUserResponse) String() string
type DeleteInstanceRequest ¶
type DeleteInstanceRequest struct {
InstanceId string `json:"instance_id"`
}
Request Object
func (DeleteInstanceRequest) String ¶
func (o DeleteInstanceRequest) String() string
type DeleteInstanceResponse ¶
type DeleteInstanceResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteInstanceResponse) String ¶
func (o DeleteInstanceResponse) String() string
type DeleteManualBackupRequest ¶
type DeleteManualBackupRequest struct {
BackupId string `json:"backup_id"`
}
Request Object
func (DeleteManualBackupRequest) String ¶
func (o DeleteManualBackupRequest) String() string
type DeleteManualBackupResponse ¶
type DeleteManualBackupResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteManualBackupResponse) String ¶
func (o DeleteManualBackupResponse) String() string
type DeleteSessionRequest ¶
type DeleteSessionRequest struct { NodeId string `json:"node_id"` Body *DeleteSessionRequestBody `json:"body,omitempty"` }
Request Object
func (DeleteSessionRequest) String ¶
func (o DeleteSessionRequest) String() string
type DeleteSessionRequestBody ¶
type DeleteSessionRequestBody struct {
Sessions []string `json:"sessions"`
}
func (DeleteSessionRequestBody) String ¶
func (o DeleteSessionRequestBody) String() string
type DeleteSessionResponse ¶
type DeleteSessionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteSessionResponse) String ¶
func (o DeleteSessionResponse) String() string
type DownloadErrorlogRequest ¶
type DownloadErrorlogRequest struct { InstanceId string `json:"instance_id"` Body *DownloadErrorlogRequestBody `json:"body,omitempty"` }
Request Object
func (DownloadErrorlogRequest) String ¶
func (o DownloadErrorlogRequest) String() string
type DownloadErrorlogRequestBody ¶
type DownloadErrorlogRequestBody struct { FileNameList *[]string `json:"file_name_list,omitempty"` NodeIdList *[]string `json:"node_id_list,omitempty"` }
func (DownloadErrorlogRequestBody) String ¶
func (o DownloadErrorlogRequestBody) String() string
type DownloadErrorlogResponse ¶
type DownloadErrorlogResponse struct { List *[]DownloadSlowlogResult `json:"list,omitempty"` Status *string `json:"status,omitempty"` Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DownloadErrorlogResponse) String ¶
func (o DownloadErrorlogResponse) String() string
type DownloadSlowlogRequest ¶
type DownloadSlowlogRequest struct { InstanceId string `json:"instance_id"` Body *DownloadSlowlogRequestBody `json:"body,omitempty"` }
Request Object
func (DownloadSlowlogRequest) String ¶
func (o DownloadSlowlogRequest) String() string
type DownloadSlowlogRequestBody ¶
type DownloadSlowlogRequestBody struct { FileNameList *[]string `json:"file_name_list,omitempty"` NodeIdList *[]string `json:"node_id_list,omitempty"` }
func (DownloadSlowlogRequestBody) String ¶
func (o DownloadSlowlogRequestBody) String() string
type DownloadSlowlogResponse ¶
type DownloadSlowlogResponse struct { List *[]DownloadSlowlogResult `json:"list,omitempty"` Status *string `json:"status,omitempty"` Count *int32 `json:"count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DownloadSlowlogResponse) String ¶
func (o DownloadSlowlogResponse) String() string
type DownloadSlowlogResult ¶
type DownloadSlowlogResult struct { NodeName string `json:"node_name"` FileName string `json:"file_name"` Status string `json:"status"` FileSize string `json:"file_size"` FileLink string `json:"file_link"` UpdateAt int64 `json:"update_at"` }
func (DownloadSlowlogResult) String ¶
func (o DownloadSlowlogResult) String() string
type DssPoolInfo ¶
type DssPoolInfo struct { AzName string `json:"az_name"` FreeCapacityGb string `json:"free_capacity_gb"` DssPoolVolumeType string `json:"dss_pool_volume_type"` DssPoolId string `json:"dss_pool_id"` DssPoolStatus string `json:"dss_pool_status"` }
实例专属存储信息。
func (DssPoolInfo) String ¶
func (o DssPoolInfo) String() string
type EnlargeInstanceRequestBody ¶
type EnlargeInstanceRequestBody struct { Type EnlargeInstanceRequestBodyType `json:"type"` SpecCode string `json:"spec_code"` Num string `json:"num"` Volume *AddShardingNodeVolumeOption `json:"volume,omitempty"` }
func (EnlargeInstanceRequestBody) String ¶
func (o EnlargeInstanceRequestBody) String() string
type EnlargeInstanceRequestBodyType ¶
type EnlargeInstanceRequestBodyType struct {
// contains filtered or unexported fields
}
func (EnlargeInstanceRequestBodyType) MarshalJSON ¶
func (c EnlargeInstanceRequestBodyType) MarshalJSON() ([]byte, error)
func (*EnlargeInstanceRequestBodyType) UnmarshalJSON ¶
func (c *EnlargeInstanceRequestBodyType) UnmarshalJSON(b []byte) error
type EnlargeInstanceRequestBodyTypeEnum ¶
type EnlargeInstanceRequestBodyTypeEnum struct { MONGOS EnlargeInstanceRequestBodyType SHARD EnlargeInstanceRequestBodyType }
func GetEnlargeInstanceRequestBodyTypeEnum ¶
func GetEnlargeInstanceRequestBodyTypeEnum() EnlargeInstanceRequestBodyTypeEnum
type ErrorResponse ¶
type ErrorResponse struct { ErrorCode string `json:"error_code"` ErrorMsg string `json:"error_msg"` }
func (ErrorResponse) String ¶
func (o ErrorResponse) String() string
type ErrorlogResult ¶
type ErrorlogResult struct { NodeName string `json:"node_name"` Level string `json:"level"` Time string `json:"time"` Content string `json:"content"` }
func (ErrorlogResult) String ¶
func (o ErrorlogResult) String() string
type Flavor ¶
type Flavor struct { EngineName string `json:"engine_name"` Type string `json:"type"` Vcpus string `json:"vcpus"` Ram string `json:"ram"` SpecCode string `json:"spec_code"` AzStatus *interface{} `json:"az_status"` }
规格信息。
type GetBackupDownloadLinkResponseBodyFiles ¶
type GetBackupDownloadLinkResponseBodyFiles struct { Name string `json:"name"` Size int64 `json:"size"` DownloadLink string `json:"download_link"` LinkExpiredTime string `json:"link_expired_time"` }
func (GetBackupDownloadLinkResponseBodyFiles) String ¶
func (o GetBackupDownloadLinkResponseBodyFiles) String() string
type GroupResponseItem ¶
type GroupResponseItem struct { Type string `json:"type"` Id string `json:"id"` Name string `json:"name"` Status string `json:"status"` Volume *Volume `json:"volume"` Nodes []NodeItem `json:"nodes"` }
实例组信息。
func (GroupResponseItem) String ¶
func (o GroupResponseItem) String() string
type InstanceItem ¶
type InstanceItem struct { InstanceId string `json:"instance_id"` InstanceName string `json:"instance_name"` Tags []InstanceItemTagItem `json:"tags"` }
func (InstanceItem) String ¶
func (o InstanceItem) String() string
type InstanceItemTagItem ¶
type InstanceItemTagItem struct { Key *string `json:"key,omitempty"` Value *string `json:"value,omitempty"` }
标签列表。
func (InstanceItemTagItem) String ¶
func (o InstanceItemTagItem) String() string
type ListApiVersionRequest ¶
type ListApiVersionRequest struct { }
Request Object
func (ListApiVersionRequest) String ¶
func (o ListApiVersionRequest) String() string
type ListApiVersionResponse ¶
type ListApiVersionResponse struct { Versions *[]ApiVersion `json:"versions,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListApiVersionResponse) String ¶
func (o ListApiVersionResponse) String() string
type ListAuditlogLinksRequest ¶
type ListAuditlogLinksRequest struct { InstanceId string `json:"instance_id"` Body *ProduceAuditlogLinksRequestBody `json:"body,omitempty"` }
Request Object
func (ListAuditlogLinksRequest) String ¶
func (o ListAuditlogLinksRequest) String() string
type ListAuditlogLinksResponse ¶
type ListAuditlogLinksResponse struct { Links *[]string `json:"links,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAuditlogLinksResponse) String ¶
func (o ListAuditlogLinksResponse) String() string
type ListAuditlogsRequest ¶
type ListAuditlogsRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` NodeId *string `json:"node_id,omitempty"` StartTime string `json:"start_time"` EndTime string `json:"end_time"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListAuditlogsRequest) String ¶
func (o ListAuditlogsRequest) String() string
type ListAuditlogsResponse ¶
type ListAuditlogsResponse struct { TotalCount *int32 `json:"total_count,omitempty"` AuditLogs *[]ListAuditlogsResult `json:"audit_logs,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAuditlogsResponse) String ¶
func (o ListAuditlogsResponse) String() string
type ListAuditlogsResult ¶
type ListAuditlogsResult struct { NodeId string `json:"node_id"` Id string `json:"id"` Name string `json:"name"` Size int64 `json:"size"` StartTime string `json:"start_time"` EndTime string `json:"end_time"` }
func (ListAuditlogsResult) String ¶
func (o ListAuditlogsResult) String() string
type ListBackupsRequest ¶
type ListBackupsRequest struct { InstanceId *string `json:"instance_id,omitempty"` BackupId *string `json:"backup_id,omitempty"` BackupType *ListBackupsRequestBackupType `json:"backup_type,omitempty"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` BeginTime *string `json:"begin_time,omitempty"` EndTime *string `json:"end_time,omitempty"` Mode *ListBackupsRequestMode `json:"mode,omitempty"` }
Request Object
func (ListBackupsRequest) String ¶
func (o ListBackupsRequest) String() string
type ListBackupsRequestBackupType ¶
type ListBackupsRequestBackupType struct {
// contains filtered or unexported fields
}
func (ListBackupsRequestBackupType) MarshalJSON ¶
func (c ListBackupsRequestBackupType) MarshalJSON() ([]byte, error)
func (*ListBackupsRequestBackupType) UnmarshalJSON ¶
func (c *ListBackupsRequestBackupType) UnmarshalJSON(b []byte) error
type ListBackupsRequestBackupTypeEnum ¶
type ListBackupsRequestBackupTypeEnum struct { AUTO ListBackupsRequestBackupType MANUAL ListBackupsRequestBackupType INCREMENTAL ListBackupsRequestBackupType }
func GetListBackupsRequestBackupTypeEnum ¶
func GetListBackupsRequestBackupTypeEnum() ListBackupsRequestBackupTypeEnum
type ListBackupsRequestMode ¶
type ListBackupsRequestMode struct {
// contains filtered or unexported fields
}
func (ListBackupsRequestMode) MarshalJSON ¶
func (c ListBackupsRequestMode) MarshalJSON() ([]byte, error)
func (*ListBackupsRequestMode) UnmarshalJSON ¶
func (c *ListBackupsRequestMode) UnmarshalJSON(b []byte) error
type ListBackupsRequestModeEnum ¶
type ListBackupsRequestModeEnum struct { SHARDING ListBackupsRequestMode REPLICA_SET ListBackupsRequestMode SINGLE ListBackupsRequestMode }
func GetListBackupsRequestModeEnum ¶
func GetListBackupsRequestModeEnum() ListBackupsRequestModeEnum
type ListBackupsResponse ¶
type ListBackupsResponse struct { Backups *[]BackupForList `json:"backups,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListBackupsResponse) String ¶
func (o ListBackupsResponse) String() string
type ListDatabaseRolesRequest ¶
type ListDatabaseRolesRequest struct { InstanceId string `json:"instance_id"` RoleName *string `json:"role_name,omitempty"` DbName *string `json:"db_name,omitempty"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListDatabaseRolesRequest) String ¶
func (o ListDatabaseRolesRequest) String() string
type ListDatabaseRolesResponse ¶
type ListDatabaseRolesResponse struct { Roles *string `json:"roles,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDatabaseRolesResponse) String ¶
func (o ListDatabaseRolesResponse) String() string
type ListDatabaseUsersRequest ¶
type ListDatabaseUsersRequest struct { InstanceId string `json:"instance_id"` UserName *string `json:"user_name,omitempty"` DbName *string `json:"db_name,omitempty"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListDatabaseUsersRequest) String ¶
func (o ListDatabaseUsersRequest) String() string
type ListDatabaseUsersResponse ¶
type ListDatabaseUsersResponse struct { Users *string `json:"users,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDatabaseUsersResponse) String ¶
func (o ListDatabaseUsersResponse) String() string
type ListDatastoreVersionsRequest ¶
type ListDatastoreVersionsRequest struct {
DatastoreName ListDatastoreVersionsRequestDatastoreName `json:"datastore_name"`
}
Request Object
func (ListDatastoreVersionsRequest) String ¶
func (o ListDatastoreVersionsRequest) String() string
type ListDatastoreVersionsRequestDatastoreName ¶
type ListDatastoreVersionsRequestDatastoreName struct {
// contains filtered or unexported fields
}
func (ListDatastoreVersionsRequestDatastoreName) MarshalJSON ¶
func (c ListDatastoreVersionsRequestDatastoreName) MarshalJSON() ([]byte, error)
func (*ListDatastoreVersionsRequestDatastoreName) UnmarshalJSON ¶
func (c *ListDatastoreVersionsRequestDatastoreName) UnmarshalJSON(b []byte) error
type ListDatastoreVersionsRequestDatastoreNameEnum ¶
type ListDatastoreVersionsRequestDatastoreNameEnum struct { DDS_COMMUNITY ListDatastoreVersionsRequestDatastoreName DDS_ENHANCED ListDatastoreVersionsRequestDatastoreName }
func GetListDatastoreVersionsRequestDatastoreNameEnum ¶
func GetListDatastoreVersionsRequestDatastoreNameEnum() ListDatastoreVersionsRequestDatastoreNameEnum
type ListDatastoreVersionsResponse ¶
type ListDatastoreVersionsResponse struct { Versions *[]string `json:"versions,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDatastoreVersionsResponse) String ¶
func (o ListDatastoreVersionsResponse) String() string
type ListErrorLogsRequest ¶
type ListErrorLogsRequest struct { InstanceId string `json:"instance_id"` StartDate string `json:"start_date"` EndDate string `json:"end_date"` NodeId *string `json:"node_id,omitempty"` Type *ListErrorLogsRequestType `json:"type,omitempty"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListErrorLogsRequest) String ¶
func (o ListErrorLogsRequest) String() string
type ListErrorLogsRequestType ¶
type ListErrorLogsRequestType struct {
// contains filtered or unexported fields
}
func (ListErrorLogsRequestType) MarshalJSON ¶
func (c ListErrorLogsRequestType) MarshalJSON() ([]byte, error)
func (*ListErrorLogsRequestType) UnmarshalJSON ¶
func (c *ListErrorLogsRequestType) UnmarshalJSON(b []byte) error
type ListErrorLogsRequestTypeEnum ¶
type ListErrorLogsRequestTypeEnum struct { WARNING ListErrorLogsRequestType ERROR ListErrorLogsRequestType }
func GetListErrorLogsRequestTypeEnum ¶
func GetListErrorLogsRequestTypeEnum() ListErrorLogsRequestTypeEnum
type ListErrorLogsResponse ¶
type ListErrorLogsResponse struct { ErrorLogList *[]ErrorlogResult `json:"error_log_list,omitempty"` TotalRecord *int32 `json:"total_record,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListErrorLogsResponse) String ¶
func (o ListErrorLogsResponse) String() string
type ListFlavorsRequest ¶
type ListFlavorsRequest struct { Region string `json:"region"` EngineName *ListFlavorsRequestEngineName `json:"engine_name,omitempty"` }
Request Object
func (ListFlavorsRequest) String ¶
func (o ListFlavorsRequest) String() string
type ListFlavorsRequestEngineName ¶
type ListFlavorsRequestEngineName struct {
// contains filtered or unexported fields
}
func (ListFlavorsRequestEngineName) MarshalJSON ¶
func (c ListFlavorsRequestEngineName) MarshalJSON() ([]byte, error)
func (*ListFlavorsRequestEngineName) UnmarshalJSON ¶
func (c *ListFlavorsRequestEngineName) UnmarshalJSON(b []byte) error
type ListFlavorsRequestEngineNameEnum ¶
type ListFlavorsRequestEngineNameEnum struct { DDS_COMMUNITY ListFlavorsRequestEngineName DDS_ENHANCED ListFlavorsRequestEngineName }
func GetListFlavorsRequestEngineNameEnum ¶
func GetListFlavorsRequestEngineNameEnum() ListFlavorsRequestEngineNameEnum
type ListFlavorsResponse ¶
type ListFlavorsResponse struct { Flavors *[]Flavor `json:"flavors,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListFlavorsResponse) String ¶
func (o ListFlavorsResponse) String() string
type ListInstanceTagsRequest ¶
type ListInstanceTagsRequest struct {
InstanceId string `json:"instance_id"`
}
Request Object
func (ListInstanceTagsRequest) String ¶
func (o ListInstanceTagsRequest) String() string
type ListInstanceTagsResponse ¶
type ListInstanceTagsResponse struct { Tags *[]QueryResourceTagItem `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListInstanceTagsResponse) String ¶
func (o ListInstanceTagsResponse) String() string
type ListInstancesByTagsRequest ¶
type ListInstancesByTagsRequest struct {
Body *ListInstancesByTagsRequestBody `json:"body,omitempty"`
}
Request Object
func (ListInstancesByTagsRequest) String ¶
func (o ListInstancesByTagsRequest) String() string
type ListInstancesByTagsRequestBody ¶
type ListInstancesByTagsRequestBody struct { Offset *string `json:"offset,omitempty"` Limit *string `json:"limit,omitempty"` Action ListInstancesByTagsRequestBodyAction `json:"action"` Matches *[]QueryMatchItem `json:"matches,omitempty"` Tags *[]QueryTagItem `json:"tags,omitempty"` }
func (ListInstancesByTagsRequestBody) String ¶
func (o ListInstancesByTagsRequestBody) String() string
type ListInstancesByTagsRequestBodyAction ¶
type ListInstancesByTagsRequestBodyAction struct {
// contains filtered or unexported fields
}
func (ListInstancesByTagsRequestBodyAction) MarshalJSON ¶
func (c ListInstancesByTagsRequestBodyAction) MarshalJSON() ([]byte, error)
func (*ListInstancesByTagsRequestBodyAction) UnmarshalJSON ¶
func (c *ListInstancesByTagsRequestBodyAction) UnmarshalJSON(b []byte) error
type ListInstancesByTagsRequestBodyActionEnum ¶
type ListInstancesByTagsRequestBodyActionEnum struct { FILTER ListInstancesByTagsRequestBodyAction COUNT ListInstancesByTagsRequestBodyAction }
func GetListInstancesByTagsRequestBodyActionEnum ¶
func GetListInstancesByTagsRequestBodyActionEnum() ListInstancesByTagsRequestBodyActionEnum
type ListInstancesByTagsResponse ¶
type ListInstancesByTagsResponse struct { Instances *[]InstanceItem `json:"instances,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListInstancesByTagsResponse) String ¶
func (o ListInstancesByTagsResponse) String() string
type ListInstancesRequest ¶
type ListInstancesRequest struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Mode *ListInstancesRequestMode `json:"mode,omitempty"` DatastoreType *ListInstancesRequestDatastoreType `json:"datastore_type,omitempty"` VpcId *string `json:"vpc_id,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListInstancesRequest) String ¶
func (o ListInstancesRequest) String() string
type ListInstancesRequestDatastoreType ¶
type ListInstancesRequestDatastoreType struct {
// contains filtered or unexported fields
}
func (ListInstancesRequestDatastoreType) MarshalJSON ¶
func (c ListInstancesRequestDatastoreType) MarshalJSON() ([]byte, error)
func (*ListInstancesRequestDatastoreType) UnmarshalJSON ¶
func (c *ListInstancesRequestDatastoreType) UnmarshalJSON(b []byte) error
type ListInstancesRequestDatastoreTypeEnum ¶
type ListInstancesRequestDatastoreTypeEnum struct { DDS_COMMUNITY ListInstancesRequestDatastoreType DDS_ENHANCED ListInstancesRequestDatastoreType }
func GetListInstancesRequestDatastoreTypeEnum ¶
func GetListInstancesRequestDatastoreTypeEnum() ListInstancesRequestDatastoreTypeEnum
type ListInstancesRequestMode ¶
type ListInstancesRequestMode struct {
// contains filtered or unexported fields
}
func (ListInstancesRequestMode) MarshalJSON ¶
func (c ListInstancesRequestMode) MarshalJSON() ([]byte, error)
func (*ListInstancesRequestMode) UnmarshalJSON ¶
func (c *ListInstancesRequestMode) UnmarshalJSON(b []byte) error
type ListInstancesRequestModeEnum ¶
type ListInstancesRequestModeEnum struct { SHARDING ListInstancesRequestMode REPLICA_SET ListInstancesRequestMode SINGLE ListInstancesRequestMode }
func GetListInstancesRequestModeEnum ¶
func GetListInstancesRequestModeEnum() ListInstancesRequestModeEnum
type ListInstancesResponse ¶
type ListInstancesResponse struct { Instances *[]QueryInstanceResponse `json:"instances,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListInstancesResponse) String ¶
func (o ListInstancesResponse) String() string
type ListProjectTagsRequest ¶
type ListProjectTagsRequest struct { }
Request Object
func (ListProjectTagsRequest) String ¶
func (o ListProjectTagsRequest) String() string
type ListProjectTagsResponse ¶
type ListProjectTagsResponse struct { Tags *[]QueryProjectTagItem `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProjectTagsResponse) String ¶
func (o ListProjectTagsResponse) String() string
type ListRestoreCollectionsRequest ¶
type ListRestoreCollectionsRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` DbName string `json:"db_name"` RestoreTime string `json:"restore_time"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListRestoreCollectionsRequest) String ¶
func (o ListRestoreCollectionsRequest) String() string
type ListRestoreCollectionsResponse ¶
type ListRestoreCollectionsResponse struct { TotalCount *int32 `json:"total_count,omitempty"` Collections *[]string `json:"collections,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRestoreCollectionsResponse) String ¶
func (o ListRestoreCollectionsResponse) String() string
type ListRestoreDatabasesRequest ¶
type ListRestoreDatabasesRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` RestoreTime string `json:"restore_time"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListRestoreDatabasesRequest) String ¶
func (o ListRestoreDatabasesRequest) String() string
type ListRestoreDatabasesResponse ¶
type ListRestoreDatabasesResponse struct { TotalCount *int32 `json:"total_count,omitempty"` Databases *[]string `json:"databases,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRestoreDatabasesResponse) String ¶
func (o ListRestoreDatabasesResponse) String() string
type ListRestoreTimesRequest ¶
type ListRestoreTimesRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Date string `json:"date"` }
Request Object
func (ListRestoreTimesRequest) String ¶
func (o ListRestoreTimesRequest) String() string
type ListRestoreTimesResponse ¶
type ListRestoreTimesResponse struct { RestoreTime *[]ListRestoreTimesResponseBodyRestoreTime `json:"restore_time,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRestoreTimesResponse) String ¶
func (o ListRestoreTimesResponse) String() string
type ListRestoreTimesResponseBodyRestoreTime ¶
type ListRestoreTimesResponseBodyRestoreTime struct { StartTime int64 `json:"start_time"` EndTime int64 `json:"end_time"` }
func (ListRestoreTimesResponseBodyRestoreTime) String ¶
func (o ListRestoreTimesResponseBodyRestoreTime) String() string
type ListSessionsRequest ¶
type ListSessionsRequest struct { NodeId string `json:"node_id"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` PlanSummary *string `json:"plan_summary,omitempty"` Type *string `json:"type,omitempty"` Namespace *string `json:"namespace,omitempty"` CostTime *int32 `json:"cost_time,omitempty"` }
Request Object
func (ListSessionsRequest) String ¶
func (o ListSessionsRequest) String() string
type ListSessionsResponse ¶
type ListSessionsResponse struct { TotalCount *int32 `json:"total_count,omitempty"` Sessions *[]QuerySessionResponse `json:"sessions,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSessionsResponse) String ¶
func (o ListSessionsResponse) String() string
type ListSlowLogsRequest ¶
type ListSlowLogsRequest struct { InstanceId string `json:"instance_id"` StartDate string `json:"start_date"` EndDate string `json:"end_date"` NodeId *string `json:"node_id,omitempty"` Type *ListSlowLogsRequestType `json:"type,omitempty"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListSlowLogsRequest) String ¶
func (o ListSlowLogsRequest) String() string
type ListSlowLogsRequestType ¶
type ListSlowLogsRequestType struct {
// contains filtered or unexported fields
}
func (ListSlowLogsRequestType) MarshalJSON ¶
func (c ListSlowLogsRequestType) MarshalJSON() ([]byte, error)
func (*ListSlowLogsRequestType) UnmarshalJSON ¶
func (c *ListSlowLogsRequestType) UnmarshalJSON(b []byte) error
type ListSlowLogsRequestTypeEnum ¶
type ListSlowLogsRequestTypeEnum struct { INSERT ListSlowLogsRequestType QUERY ListSlowLogsRequestType UPDATE ListSlowLogsRequestType REMOVE ListSlowLogsRequestType GETMORE ListSlowLogsRequestType COMMAND ListSlowLogsRequestType KILLCURSORS ListSlowLogsRequestType }
func GetListSlowLogsRequestTypeEnum ¶
func GetListSlowLogsRequestTypeEnum() ListSlowLogsRequestTypeEnum
type ListSlowLogsResponse ¶
type ListSlowLogsResponse struct { SlowLogList *[]SlowlogResult `json:"slow_log_list,omitempty"` TotalRecord *int32 `json:"total_record,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSlowLogsResponse) String ¶
func (o ListSlowLogsResponse) String() string
type ListStorageTypeRequest ¶
type ListStorageTypeRequest struct {
EngineName *ListStorageTypeRequestEngineName `json:"engine_name,omitempty"`
}
Request Object
func (ListStorageTypeRequest) String ¶
func (o ListStorageTypeRequest) String() string
type ListStorageTypeRequestEngineName ¶
type ListStorageTypeRequestEngineName struct {
// contains filtered or unexported fields
}
func (ListStorageTypeRequestEngineName) MarshalJSON ¶
func (c ListStorageTypeRequestEngineName) MarshalJSON() ([]byte, error)
func (*ListStorageTypeRequestEngineName) UnmarshalJSON ¶
func (c *ListStorageTypeRequestEngineName) UnmarshalJSON(b []byte) error
type ListStorageTypeRequestEngineNameEnum ¶
type ListStorageTypeRequestEngineNameEnum struct { DDS_COMMUNITY ListStorageTypeRequestEngineName DDS_ENHANCED ListStorageTypeRequestEngineName }
func GetListStorageTypeRequestEngineNameEnum ¶
func GetListStorageTypeRequestEngineNameEnum() ListStorageTypeRequestEngineNameEnum
type ListStorageTypeResponse ¶
type ListStorageTypeResponse struct { StorageType *[]Storage `json:"storage_type,omitempty"` DssPoolInfo *[]DssPoolInfo `json:"dss_pool_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListStorageTypeResponse) String ¶
func (o ListStorageTypeResponse) String() string
type NodeItem ¶
type NodeItem struct { Id string `json:"id"` Name string `json:"name"` Status string `json:"status"` Role string `json:"role"` PrivateIp string `json:"private_ip"` PublicIp string `json:"public_ip"` SpecCode string `json:"spec_code"` AvailabilityZone string `json:"availability_zone"` }
实例节点信息。
type ProduceAuditlogLinksRequestBody ¶
type ProduceAuditlogLinksRequestBody struct {
Ids []string `json:"ids"`
}
func (ProduceAuditlogLinksRequestBody) String ¶
func (o ProduceAuditlogLinksRequestBody) String() string
type QueryConnectionsResponse ¶
type QueryConnectionsResponse struct { ClientIp string `json:"client_ip"` Count int32 `json:"count"` }
func (QueryConnectionsResponse) String ¶
func (o QueryConnectionsResponse) String() string
type QueryInstanceResponse ¶
type QueryInstanceResponse struct { Id string `json:"id"` Name string `json:"name"` Status string `json:"status"` Port string `json:"port"` Mode string `json:"mode"` Region string `json:"region"` Datastore *DatastoreItem `json:"datastore"` Engine string `json:"engine"` Created string `json:"created"` Updated string `json:"updated"` DbUserName string `json:"db_user_name"` Ssl int32 `json:"ssl"` VpcId string `json:"vpc_id"` SubnetId string `json:"subnet_id"` SecurityGroupId string `json:"security_group_id"` BackupStrategy *BackupStrategyForItemResponse `json:"backup_strategy"` PayMode *string `json:"pay_mode,omitempty"` MaintenanceWindow string `json:"maintenance_window"` Groups []GroupResponseItem `json:"groups"` DiskEncryptionId string `json:"disk_encryption_id"` EnterpriseProjectId string `json:"enterprise_project_id"` TimeZone string `json:"time_zone"` DssPoolId *string `json:"dss_pool_id,omitempty"` Actions []string `json:"actions"` }
实例信息。
func (QueryInstanceResponse) String ¶
func (o QueryInstanceResponse) String() string
type QueryMatchItem ¶
type QueryMatchItem struct { Key QueryMatchItemKey `json:"key"` Value string `json:"value"` }
func (QueryMatchItem) String ¶
func (o QueryMatchItem) String() string
type QueryMatchItemKey ¶
type QueryMatchItemKey struct {
// contains filtered or unexported fields
}
func (QueryMatchItemKey) MarshalJSON ¶
func (c QueryMatchItemKey) MarshalJSON() ([]byte, error)
func (*QueryMatchItemKey) UnmarshalJSON ¶
func (c *QueryMatchItemKey) UnmarshalJSON(b []byte) error
type QueryMatchItemKeyEnum ¶
type QueryMatchItemKeyEnum struct { INSTANCE_NAME QueryMatchItemKey INSTANCE_ID QueryMatchItemKey }
func GetQueryMatchItemKeyEnum ¶
func GetQueryMatchItemKeyEnum() QueryMatchItemKeyEnum
type QueryProjectTagItem ¶
type QueryProjectTagItem struct { Key *string `json:"key,omitempty"` Values *[]string `json:"values,omitempty"` }
func (QueryProjectTagItem) String ¶
func (o QueryProjectTagItem) String() string
type QueryResourceTagItem ¶
type QueryResourceTagItem struct { Key *string `json:"key,omitempty"` Value *string `json:"value,omitempty"` }
func (QueryResourceTagItem) String ¶
func (o QueryResourceTagItem) String() string
type QuerySessionResponse ¶
type QuerySessionResponse struct { Id string `json:"id"` Active bool `json:"active"` Operation string `json:"operation"` Type string `json:"type"` CostTime string `json:"cost_time"` PlanSummary string `json:"plan_summary"` Host string `json:"host"` Client string `json:"client"` Description string `json:"description"` Namespace string `json:"namespace"` }
会话详细信息列表。
func (QuerySessionResponse) String ¶
func (o QuerySessionResponse) String() string
type QueryTagItem ¶
func (QueryTagItem) String ¶
func (o QueryTagItem) String() string
type ResetPasswordRequest ¶
type ResetPasswordRequest struct { InstanceId string `json:"instance_id"` Body *ResetPasswordRequestBody `json:"body,omitempty"` }
Request Object
func (ResetPasswordRequest) String ¶
func (o ResetPasswordRequest) String() string
type ResetPasswordRequestBody ¶
type ResetPasswordRequestBody struct { UserPwd string `json:"user_pwd"` UserName *string `json:"user_name,omitempty"` DbName *string `json:"db_name,omitempty"` }
func (ResetPasswordRequestBody) String ¶
func (o ResetPasswordRequestBody) String() string
type ResetPasswordResponse ¶
type ResetPasswordResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (ResetPasswordResponse) String ¶
func (o ResetPasswordResponse) String() string
type ResizeInstanceOption ¶
type ResizeInstanceOption struct { TargetType *ResizeInstanceOptionTargetType `json:"target_type,omitempty"` TargetId string `json:"target_id"` TargetSpecCode string `json:"target_spec_code"` }
func (ResizeInstanceOption) String ¶
func (o ResizeInstanceOption) String() string
type ResizeInstanceOptionTargetType ¶
type ResizeInstanceOptionTargetType struct {
// contains filtered or unexported fields
}
func (ResizeInstanceOptionTargetType) MarshalJSON ¶
func (c ResizeInstanceOptionTargetType) MarshalJSON() ([]byte, error)
func (*ResizeInstanceOptionTargetType) UnmarshalJSON ¶
func (c *ResizeInstanceOptionTargetType) UnmarshalJSON(b []byte) error
type ResizeInstanceOptionTargetTypeEnum ¶
type ResizeInstanceOptionTargetTypeEnum struct { MONGOS ResizeInstanceOptionTargetType SHARD ResizeInstanceOptionTargetType }
func GetResizeInstanceOptionTargetTypeEnum ¶
func GetResizeInstanceOptionTargetTypeEnum() ResizeInstanceOptionTargetTypeEnum
type ResizeInstanceRequest ¶
type ResizeInstanceRequest struct { InstanceId string `json:"instance_id"` Body *ResizeInstanceRequestBody `json:"body,omitempty"` }
Request Object
func (ResizeInstanceRequest) String ¶
func (o ResizeInstanceRequest) String() string
type ResizeInstanceRequestBody ¶
type ResizeInstanceRequestBody struct {
Resize *ResizeInstanceOption `json:"resize"`
}
func (ResizeInstanceRequestBody) String ¶
func (o ResizeInstanceRequestBody) String() string
type ResizeInstanceResponse ¶
type ResizeInstanceResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ResizeInstanceResponse) String ¶
func (o ResizeInstanceResponse) String() string
type ResizeInstanceVolumeOption ¶
type ResizeInstanceVolumeOption struct { GroupId *string `json:"group_id,omitempty"` Size string `json:"size"` }
func (ResizeInstanceVolumeOption) String ¶
func (o ResizeInstanceVolumeOption) String() string
type ResizeInstanceVolumeRequest ¶
type ResizeInstanceVolumeRequest struct { InstanceId string `json:"instance_id"` Body *ResizeInstanceVolumeRequestBody `json:"body,omitempty"` }
Request Object
func (ResizeInstanceVolumeRequest) String ¶
func (o ResizeInstanceVolumeRequest) String() string
type ResizeInstanceVolumeRequestBody ¶
type ResizeInstanceVolumeRequestBody struct {
Volume *ResizeInstanceVolumeOption `json:"volume"`
}
func (ResizeInstanceVolumeRequestBody) String ¶
func (o ResizeInstanceVolumeRequestBody) String() string
type ResizeInstanceVolumeResponse ¶
type ResizeInstanceVolumeResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ResizeInstanceVolumeResponse) String ¶
func (o ResizeInstanceVolumeResponse) String() string
type RestartInstanceRequest ¶
type RestartInstanceRequest struct { InstanceId string `json:"instance_id"` Body *RestartInstanceRequestBody `json:"body,omitempty"` }
Request Object
func (RestartInstanceRequest) String ¶
func (o RestartInstanceRequest) String() string
type RestartInstanceRequestBody ¶
type RestartInstanceRequestBody struct { TargetType *RestartInstanceRequestBodyTargetType `json:"target_type,omitempty"` TargetId string `json:"target_id"` }
func (RestartInstanceRequestBody) String ¶
func (o RestartInstanceRequestBody) String() string
type RestartInstanceRequestBodyTargetType ¶
type RestartInstanceRequestBodyTargetType struct {
// contains filtered or unexported fields
}
func (RestartInstanceRequestBodyTargetType) MarshalJSON ¶
func (c RestartInstanceRequestBodyTargetType) MarshalJSON() ([]byte, error)
func (*RestartInstanceRequestBodyTargetType) UnmarshalJSON ¶
func (c *RestartInstanceRequestBodyTargetType) UnmarshalJSON(b []byte) error
type RestartInstanceRequestBodyTargetTypeEnum ¶
type RestartInstanceRequestBodyTargetTypeEnum struct { MONGOS RestartInstanceRequestBodyTargetType SHARD RestartInstanceRequestBodyTargetType CONFIG RestartInstanceRequestBodyTargetType }
func GetRestartInstanceRequestBodyTargetTypeEnum ¶
func GetRestartInstanceRequestBodyTargetTypeEnum() RestartInstanceRequestBodyTargetTypeEnum
type RestartInstanceResponse ¶
type RestartInstanceResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RestartInstanceResponse) String ¶
func (o RestartInstanceResponse) String() string
type RestoreInstanceFromCollectionRequest ¶
type RestoreInstanceFromCollectionRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` Body *RestoreInstanceFromCollectionRequestBody `json:"body,omitempty"` }
Request Object
func (RestoreInstanceFromCollectionRequest) String ¶
func (o RestoreInstanceFromCollectionRequest) String() string
type RestoreInstanceFromCollectionRequestBody ¶
type RestoreInstanceFromCollectionRequestBody struct {
RestoreCollections []RestoreInstanceFromCollectionRequestBodyRestoreCollections `json:"restore_collections"`
}
func (RestoreInstanceFromCollectionRequestBody) String ¶
func (o RestoreInstanceFromCollectionRequestBody) String() string
type RestoreInstanceFromCollectionRequestBodyCollections ¶
type RestoreInstanceFromCollectionRequestBodyCollections struct { OldName string `json:"old_name"` NewName *string `json:"new_name,omitempty"` RestoreCollectionTime string `json:"restore_collection_time"` }
func (RestoreInstanceFromCollectionRequestBodyCollections) String ¶
func (o RestoreInstanceFromCollectionRequestBodyCollections) String() string
type RestoreInstanceFromCollectionRequestBodyRestoreCollections ¶
type RestoreInstanceFromCollectionRequestBodyRestoreCollections struct { Database string `json:"database"` RestoreDatabaseTime *string `json:"restore_database_time,omitempty"` Collections *[]RestoreInstanceFromCollectionRequestBodyCollections `json:"collections,omitempty"` }
func (RestoreInstanceFromCollectionRequestBodyRestoreCollections) String ¶
func (o RestoreInstanceFromCollectionRequestBodyRestoreCollections) String() string
type RestoreInstanceFromCollectionResponse ¶
type RestoreInstanceFromCollectionResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RestoreInstanceFromCollectionResponse) String ¶
func (o RestoreInstanceFromCollectionResponse) String() string
type RestoreInstanceRequest ¶
type RestoreInstanceRequest struct { XLanguage *string `json:"X-Language,omitempty"` Body *RestoreInstanceRequestBody `json:"body,omitempty"` }
Request Object
func (RestoreInstanceRequest) String ¶
func (o RestoreInstanceRequest) String() string
type RestoreInstanceRequestBody ¶
type RestoreInstanceRequestBody struct { Source *Source `json:"source"` Target *Target `json:"target"` }
func (RestoreInstanceRequestBody) String ¶
func (o RestoreInstanceRequestBody) String() string
type RestoreInstanceResponse ¶
type RestoreInstanceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RestoreInstanceResponse) String ¶
func (o RestoreInstanceResponse) String() string
type RestoreNewInstanceFlavorOption ¶
type RestoreNewInstanceFlavorOption struct { Type RestoreNewInstanceFlavorOptionType `json:"type"` Num string `json:"num"` Size *string `json:"size,omitempty"` SpecCode string `json:"spec_code"` }
实例规格详情。
func (RestoreNewInstanceFlavorOption) String ¶
func (o RestoreNewInstanceFlavorOption) String() string
type RestoreNewInstanceFlavorOptionType ¶
type RestoreNewInstanceFlavorOptionType struct {
// contains filtered or unexported fields
}
func (RestoreNewInstanceFlavorOptionType) MarshalJSON ¶
func (c RestoreNewInstanceFlavorOptionType) MarshalJSON() ([]byte, error)
func (*RestoreNewInstanceFlavorOptionType) UnmarshalJSON ¶
func (c *RestoreNewInstanceFlavorOptionType) UnmarshalJSON(b []byte) error
type RestoreNewInstanceFlavorOptionTypeEnum ¶
type RestoreNewInstanceFlavorOptionTypeEnum struct { MONGOS RestoreNewInstanceFlavorOptionType SHARD RestoreNewInstanceFlavorOptionType CONFIG RestoreNewInstanceFlavorOptionType REPLICA RestoreNewInstanceFlavorOptionType SINGLE RestoreNewInstanceFlavorOptionType }
func GetRestoreNewInstanceFlavorOptionTypeEnum ¶
func GetRestoreNewInstanceFlavorOptionTypeEnum() RestoreNewInstanceFlavorOptionTypeEnum
type RestoreNewInstanceRequest ¶
type RestoreNewInstanceRequest struct {
Body *RestoreNewInstanceRequestBody `json:"body,omitempty"`
}
Request Object
func (RestoreNewInstanceRequest) String ¶
func (o RestoreNewInstanceRequest) String() string
type RestoreNewInstanceRequestBody ¶
type RestoreNewInstanceRequestBody struct { Name string `json:"name"` AvailabilityZone string `json:"availability_zone"` VpcId string `json:"vpc_id"` SubnetId string `json:"subnet_id"` SecurityGroupId string `json:"security_group_id"` Password *string `json:"password,omitempty"` DiskEncryptionId *string `json:"disk_encryption_id,omitempty"` Flavor []RestoreNewInstanceFlavorOption `json:"flavor"` BackupStrategy *BackupStrategy `json:"backup_strategy,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` SslOption *string `json:"ssl_option,omitempty"` DssPoolId *string `json:"dss_pool_id,omitempty"` ServerGroupPolicies *[]string `json:"server_group_policies,omitempty"` RestorePoint *RestorePoint `json:"restore_point"` }
实例信息。
func (RestoreNewInstanceRequestBody) String ¶
func (o RestoreNewInstanceRequestBody) String() string
type RestoreNewInstanceResponse ¶
type RestoreNewInstanceResponse struct { Id *string `json:"id,omitempty"` Datastore *Datastore `json:"datastore,omitempty"` Name *string `json:"name,omitempty"` Created *string `json:"created,omitempty"` Status *string `json:"status,omitempty"` Region *string `json:"region,omitempty"` AvailabilityZone *string `json:"availability_zone,omitempty"` VpcId *string `json:"vpc_id,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` SecurityGroupId *string `json:"security_group_id,omitempty"` DiskEncryptionId *string `json:"disk_encryption_id,omitempty"` Mode *string `json:"mode,omitempty"` Flavor *[]RestoreNewInstanceFlavorOption `json:"flavor,omitempty"` BackupStrategy *BackupStrategy `json:"backup_strategy,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` SslOption *string `json:"ssl_option,omitempty"` DssPoolId *string `json:"dss_pool_id,omitempty"` JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RestoreNewInstanceResponse) String ¶
func (o RestoreNewInstanceResponse) String() string
type RestorePoint ¶
type RestorePoint struct { InstanceId *string `json:"instance_id,omitempty"` Type *string `json:"type,omitempty"` BackupId *string `json:"backup_id,omitempty"` RestoreTime *string `json:"restore_time,omitempty"` }
func (RestorePoint) String ¶
func (o RestorePoint) String() string
type RolesOption ¶
type RolesOption struct { RoleDbName string `json:"role_db_name"` RoleName string `json:"role_name"` }
func (RolesOption) String ¶
func (o RolesOption) String() string
type SetAuditlogPolicyRequest ¶
type SetAuditlogPolicyRequest struct { InstanceId string `json:"instance_id"` Body *SetAuditlogPolicyRequestBody `json:"body,omitempty"` }
Request Object
func (SetAuditlogPolicyRequest) String ¶
func (o SetAuditlogPolicyRequest) String() string
type SetAuditlogPolicyRequestBody ¶
type SetAuditlogPolicyRequestBody struct { KeepDays int32 `json:"keep_days"` ReserveAuditlogs *string `json:"reserve_auditlogs,omitempty"` AuditScope *string `json:"audit_scope,omitempty"` AuditTypes *[]string `json:"audit_types,omitempty"` }
func (SetAuditlogPolicyRequestBody) String ¶
func (o SetAuditlogPolicyRequestBody) String() string
type SetAuditlogPolicyResponse ¶
type SetAuditlogPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (SetAuditlogPolicyResponse) String ¶
func (o SetAuditlogPolicyResponse) String() string
type SetBackupPolicyRequest ¶
type SetBackupPolicyRequest struct { InstanceId string `json:"instance_id"` Body *SetBackupPolicyRequestBody `json:"body,omitempty"` }
Request Object
func (SetBackupPolicyRequest) String ¶
func (o SetBackupPolicyRequest) String() string
type SetBackupPolicyRequestBody ¶
type SetBackupPolicyRequestBody struct {
BackupPolicy *BackupPolicy `json:"backup_policy"`
}
func (SetBackupPolicyRequestBody) String ¶
func (o SetBackupPolicyRequestBody) String() string
type SetBackupPolicyResponse ¶
type SetBackupPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (SetBackupPolicyResponse) String ¶
func (o SetBackupPolicyResponse) String() string
type SetBalancerSwitchRequest ¶
type SetBalancerSwitchRequest struct { InstanceId string `json:"instance_id"` Action SetBalancerSwitchRequestAction `json:"action"` }
Request Object
func (SetBalancerSwitchRequest) String ¶
func (o SetBalancerSwitchRequest) String() string
type SetBalancerSwitchRequestAction ¶
type SetBalancerSwitchRequestAction struct {
// contains filtered or unexported fields
}
func (SetBalancerSwitchRequestAction) MarshalJSON ¶
func (c SetBalancerSwitchRequestAction) MarshalJSON() ([]byte, error)
func (*SetBalancerSwitchRequestAction) UnmarshalJSON ¶
func (c *SetBalancerSwitchRequestAction) UnmarshalJSON(b []byte) error
type SetBalancerSwitchRequestActionEnum ¶
type SetBalancerSwitchRequestActionEnum struct { START SetBalancerSwitchRequestAction STOP SetBalancerSwitchRequestAction }
func GetSetBalancerSwitchRequestActionEnum ¶
func GetSetBalancerSwitchRequestActionEnum() SetBalancerSwitchRequestActionEnum
type SetBalancerSwitchResponse ¶
type SetBalancerSwitchResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (SetBalancerSwitchResponse) String ¶
func (o SetBalancerSwitchResponse) String() string
type SetBalancerWindowRequest ¶
type SetBalancerWindowRequest struct { InstanceId string `json:"instance_id"` Body *BalancerActiveWindow `json:"body,omitempty"` }
Request Object
func (SetBalancerWindowRequest) String ¶
func (o SetBalancerWindowRequest) String() string
type SetBalancerWindowResponse ¶
type SetBalancerWindowResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (SetBalancerWindowResponse) String ¶
func (o SetBalancerWindowResponse) String() string
type ShowApiVersionRequest ¶
type ShowApiVersionRequest struct {
Version string `json:"version"`
}
Request Object
func (ShowApiVersionRequest) String ¶
func (o ShowApiVersionRequest) String() string
type ShowApiVersionResponse ¶
type ShowApiVersionResponse struct { Version *ApiVersion `json:"version,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowApiVersionResponse) String ¶
func (o ShowApiVersionResponse) String() string
type ShowAuditlogPolicyRequest ¶
type ShowAuditlogPolicyRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` }
Request Object
func (ShowAuditlogPolicyRequest) String ¶
func (o ShowAuditlogPolicyRequest) String() string
type ShowAuditlogPolicyResponse ¶
type ShowAuditlogPolicyResponse struct { KeepDays *int32 `json:"keep_days,omitempty"` AuditScope *string `json:"audit_scope,omitempty"` AuditTypes *[]string `json:"audit_types,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowAuditlogPolicyResponse) String ¶
func (o ShowAuditlogPolicyResponse) String() string
type ShowBackupDownloadLinkRequest ¶
type ShowBackupDownloadLinkRequest struct { XLanguage *string `json:"X-Language,omitempty"` InstanceId string `json:"instance_id"` BackupId string `json:"backup_id"` }
Request Object
func (ShowBackupDownloadLinkRequest) String ¶
func (o ShowBackupDownloadLinkRequest) String() string
type ShowBackupDownloadLinkResponse ¶
type ShowBackupDownloadLinkResponse struct { Files *[]GetBackupDownloadLinkResponseBodyFiles `json:"files,omitempty"` Bucket *string `json:"bucket,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBackupDownloadLinkResponse) String ¶
func (o ShowBackupDownloadLinkResponse) String() string
type ShowBackupPolicyRequest ¶
type ShowBackupPolicyRequest struct {
InstanceId string `json:"instance_id"`
}
Request Object
func (ShowBackupPolicyRequest) String ¶
func (o ShowBackupPolicyRequest) String() string
type ShowBackupPolicyResponse ¶
type ShowBackupPolicyResponse struct { BackupPolicy *BackupPolicyItem `json:"backup_policy,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBackupPolicyResponse) String ¶
func (o ShowBackupPolicyResponse) String() string
type ShowConnectionStatisticsRequest ¶
type ShowConnectionStatisticsRequest struct { InstanceId string `json:"instance_id"` NodeId *string `json:"node_id,omitempty"` }
Request Object
func (ShowConnectionStatisticsRequest) String ¶
func (o ShowConnectionStatisticsRequest) String() string
type ShowConnectionStatisticsResponse ¶
type ShowConnectionStatisticsResponse struct { TotalConnections *int32 `json:"total_connections,omitempty"` TotalInnerConnections *int32 `json:"total_inner_connections,omitempty"` TotalOuterConnections *int32 `json:"total_outer_connections,omitempty"` InnerConnections *[]QueryConnectionsResponse `json:"inner_connections,omitempty"` OuterConnections *[]QueryConnectionsResponse `json:"outer_connections,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowConnectionStatisticsResponse) String ¶
func (o ShowConnectionStatisticsResponse) String() string
type ShowShardingBalancerRequest ¶
type ShowShardingBalancerRequest struct {
InstanceId string `json:"instance_id"`
}
Request Object
func (ShowShardingBalancerRequest) String ¶
func (o ShowShardingBalancerRequest) String() string
type ShowShardingBalancerResponse ¶
type ShowShardingBalancerResponse struct { IsOpen *bool `json:"is_open,omitempty"` ActiveWindow *BalancerActiveWindow `json:"active_window,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowShardingBalancerResponse) String ¶
func (o ShowShardingBalancerResponse) String() string
type SlowlogResult ¶
type SlowlogResult struct { NodeName string `json:"node_name"` QuerySample string `json:"query_sample"` Type string `json:"type"` Time string `json:"time"` LockTime string `json:"lock_time"` RowsSent string `json:"rows_sent"` RowsExamined string `json:"rows_examined"` Database string `json:"database"` StartTime string `json:"start_time"` }
func (SlowlogResult) String ¶
func (o SlowlogResult) String() string
type Source ¶
type SwitchSslRequest ¶
type SwitchSslRequest struct { InstanceId string `json:"instance_id"` Body *SwitchSslRequestBody `json:"body,omitempty"` }
Request Object
func (SwitchSslRequest) String ¶
func (o SwitchSslRequest) String() string
type SwitchSslRequestBody ¶
type SwitchSslRequestBody struct {
SslOption string `json:"ssl_option"`
}
func (SwitchSslRequestBody) String ¶
func (o SwitchSslRequestBody) String() string
type SwitchSslResponse ¶
type SwitchSslResponse struct { JobId *string `json:"job_id,omitempty"` SslOption *string `json:"ssl_option,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (SwitchSslResponse) String ¶
func (o SwitchSslResponse) String() string
type SwitchoverReplicaSetRequest ¶
type SwitchoverReplicaSetRequest struct {
InstanceId string `json:"instance_id"`
}
Request Object
func (SwitchoverReplicaSetRequest) String ¶
func (o SwitchoverReplicaSetRequest) String() string
type SwitchoverReplicaSetResponse ¶
type SwitchoverReplicaSetResponse struct { JobId *string `json:"job_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (SwitchoverReplicaSetResponse) String ¶
func (o SwitchoverReplicaSetResponse) String() string
type UpdateInstanceNameRequest ¶
type UpdateInstanceNameRequest struct { InstanceId string `json:"instance_id"` Body *UpdateNameRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateInstanceNameRequest) String ¶
func (o UpdateInstanceNameRequest) String() string
type UpdateInstanceNameResponse ¶
type UpdateInstanceNameResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UpdateInstanceNameResponse) String ¶
func (o UpdateInstanceNameResponse) String() string
type UpdateInstancePortRequest ¶
type UpdateInstancePortRequest struct { InstanceId string `json:"instance_id"` Body *UpdatePortRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateInstancePortRequest) String ¶
func (o UpdateInstancePortRequest) String() string
type UpdateInstancePortResponse ¶
type UpdateInstancePortResponse struct { JobId *string `json:"job_id,omitempty"` Port *int32 `json:"port,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateInstancePortResponse) String ¶
func (o UpdateInstancePortResponse) String() string
type UpdateNameRequestBody ¶
type UpdateNameRequestBody struct {
NewInstanceName string `json:"new_instance_name"`
}
func (UpdateNameRequestBody) String ¶
func (o UpdateNameRequestBody) String() string
type UpdatePortRequestBody ¶
type UpdatePortRequestBody struct {
Port int32 `json:"port"`
}
func (UpdatePortRequestBody) String ¶
func (o UpdatePortRequestBody) String() string
type UpdateSecurityGroupRequest ¶
type UpdateSecurityGroupRequest struct { InstanceId string `json:"instance_id"` Body *UpdateSecurityGroupRequestBody `json:"body,omitempty"` }
Request Object
func (UpdateSecurityGroupRequest) String ¶
func (o UpdateSecurityGroupRequest) String() string
type UpdateSecurityGroupRequestBody ¶
type UpdateSecurityGroupRequestBody struct {
SecurityGroupId string `json:"security_group_id"`
}
func (UpdateSecurityGroupRequestBody) String ¶
func (o UpdateSecurityGroupRequestBody) String() string
type UpdateSecurityGroupResponse ¶
type UpdateSecurityGroupResponse struct { JobId *string `json:"job_id,omitempty"` SecurityGroupId *string `json:"security_group_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateSecurityGroupResponse) String ¶
func (o UpdateSecurityGroupResponse) String() string
Source Files ¶
- model_add_sharding_node_request.go
- model_add_sharding_node_response.go
- model_add_sharding_node_volume_option.go
- model_api_version.go
- model_attach_eip_request.go
- model_attach_eip_request_body.go
- model_attach_eip_response.go
- model_attach_internal_ip_request.go
- model_attach_internal_ip_request_body.go
- model_attach_internal_ip_response.go
- model_backup_database.go
- model_backup_for_list.go
- model_backup_policy.go
- model_backup_policy_item.go
- model_backup_strategy.go
- model_backup_strategy_for_item_response.go
- model_balancer_active_window.go
- model_batch_operate_instance_tag_request_body.go
- model_batch_tag_action_request.go
- model_batch_tag_action_response.go
- model_cancel_eip_request.go
- model_cancel_eip_response.go
- model_check_password_request.go
- model_check_password_request_body.go
- model_check_password_response.go
- model_create_database_role_request.go
- model_create_database_role_request_body.go
- model_create_database_role_response.go
- model_create_database_user_request.go
- model_create_database_user_request_body.go
- model_create_database_user_response.go
- model_create_instance_flavor_option.go
- model_create_instance_request.go
- model_create_instance_request_body.go
- model_create_instance_response.go
- model_create_ip_request.go
- model_create_ip_request_body.go
- model_create_ip_response.go
- model_create_manual_backup_option.go
- model_create_manual_backup_request.go
- model_create_manual_backup_request_body.go
- model_create_manual_backup_response.go
- model_datastore.go
- model_datastore_item.go
- model_delete_database_role_request.go
- model_delete_database_role_request_body.go
- model_delete_database_role_response.go
- model_delete_database_user_request.go
- model_delete_database_user_request_body.go
- model_delete_database_user_response.go
- model_delete_instance_request.go
- model_delete_instance_response.go
- model_delete_manual_backup_request.go
- model_delete_manual_backup_response.go
- model_delete_session_request.go
- model_delete_session_request_body.go
- model_delete_session_response.go
- model_download_errorlog_request.go
- model_download_errorlog_request_body.go
- model_download_errorlog_response.go
- model_download_slowlog_request.go
- model_download_slowlog_request_body.go
- model_download_slowlog_response.go
- model_download_slowlog_result.go
- model_dss_pool_info.go
- model_enlarge_instance_request_body.go
- model_error_response.go
- model_errorlog_result.go
- model_flavor.go
- model_get_backup_download_link_response_body_files.go
- model_group_response_item.go
- model_instance_item.go
- model_instance_item_tag_item.go
- model_links.go
- model_list_api_version_request.go
- model_list_api_version_response.go
- model_list_auditlog_links_request.go
- model_list_auditlog_links_response.go
- model_list_auditlogs_request.go
- model_list_auditlogs_response.go
- model_list_auditlogs_result.go
- model_list_backups_request.go
- model_list_backups_response.go
- model_list_database_roles_request.go
- model_list_database_roles_response.go
- model_list_database_users_request.go
- model_list_database_users_response.go
- model_list_datastore_versions_request.go
- model_list_datastore_versions_response.go
- model_list_error_logs_request.go
- model_list_error_logs_response.go
- model_list_flavors_request.go
- model_list_flavors_response.go
- model_list_instance_tags_request.go
- model_list_instance_tags_response.go
- model_list_instances_by_tags_request.go
- model_list_instances_by_tags_request_body.go
- model_list_instances_by_tags_response.go
- model_list_instances_request.go
- model_list_instances_response.go
- model_list_project_tags_request.go
- model_list_project_tags_response.go
- model_list_restore_collections_request.go
- model_list_restore_collections_response.go
- model_list_restore_databases_request.go
- model_list_restore_databases_response.go
- model_list_restore_times_request.go
- model_list_restore_times_response.go
- model_list_restore_times_response_body_restore_time.go
- model_list_sessions_request.go
- model_list_sessions_response.go
- model_list_slow_logs_request.go
- model_list_slow_logs_response.go
- model_list_storage_type_request.go
- model_list_storage_type_response.go
- model_node_item.go
- model_produce_auditlog_links_request_body.go
- model_query_connections_response.go
- model_query_instance_response.go
- model_query_match_item.go
- model_query_project_tag_item.go
- model_query_resource_tag_item.go
- model_query_session_response.go
- model_query_tag_item.go
- model_reset_password_request.go
- model_reset_password_request_body.go
- model_reset_password_response.go
- model_resize_instance_option.go
- model_resize_instance_request.go
- model_resize_instance_request_body.go
- model_resize_instance_response.go
- model_resize_instance_volume_option.go
- model_resize_instance_volume_request.go
- model_resize_instance_volume_request_body.go
- model_resize_instance_volume_response.go
- model_restart_instance_request.go
- model_restart_instance_request_body.go
- model_restart_instance_response.go
- model_restore_instance_from_collection_request.go
- model_restore_instance_from_collection_request_body.go
- model_restore_instance_from_collection_request_body_collections.go
- model_restore_instance_from_collection_request_body_restore_collections.go
- model_restore_instance_from_collection_response.go
- model_restore_instance_request.go
- model_restore_instance_request_body.go
- model_restore_instance_response.go
- model_restore_new_instance_flavor_option.go
- model_restore_new_instance_request.go
- model_restore_new_instance_request_body.go
- model_restore_new_instance_response.go
- model_restore_point.go
- model_roles_option.go
- model_set_auditlog_policy_request.go
- model_set_auditlog_policy_request_body.go
- model_set_auditlog_policy_response.go
- model_set_backup_policy_request.go
- model_set_backup_policy_request_body.go
- model_set_backup_policy_response.go
- model_set_balancer_switch_request.go
- model_set_balancer_switch_response.go
- model_set_balancer_window_request.go
- model_set_balancer_window_response.go
- model_show_api_version_request.go
- model_show_api_version_response.go
- model_show_auditlog_policy_request.go
- model_show_auditlog_policy_response.go
- model_show_backup_download_link_request.go
- model_show_backup_download_link_response.go
- model_show_backup_policy_request.go
- model_show_backup_policy_response.go
- model_show_connection_statistics_request.go
- model_show_connection_statistics_response.go
- model_show_sharding_balancer_request.go
- model_show_sharding_balancer_response.go
- model_slowlog_result.go
- model_source.go
- model_storage.go
- model_switch_ssl_request.go
- model_switch_ssl_request_body.go
- model_switch_ssl_response.go
- model_switchover_replica_set_request.go
- model_switchover_replica_set_response.go
- model_tag_item.go
- model_target.go
- model_update_instance_name_request.go
- model_update_instance_name_response.go
- model_update_instance_port_request.go
- model_update_instance_port_response.go
- model_update_name_request_body.go
- model_update_port_request_body.go
- model_update_security_group_request.go
- model_update_security_group_request_body.go
- model_update_security_group_response.go
- model_volume.go