Documentation ¶
Index ¶
- type ComputeFlavorGroupsInfo
- type ComputeFlavors
- type ConfigurationParameterList
- type CreateDatabaseDetail
- type CreateDatabaseDetailResponses
- type CreateDatabaseDetailShardMode
- type CreateDatabaseDetailShardModeEnum
- type CreateDatabaseReq
- type CreateDatabaseRequest
- type CreateDatabaseResponse
- type CreateInstanceDetail
- type CreateInstanceExtendParam
- type CreateInstanceExtendParamChargeMode
- type CreateInstanceExtendParamChargeModeEnum
- type CreateInstanceExtendParamIsAutoPay
- type CreateInstanceExtendParamIsAutoPayEnum
- type CreateInstanceExtendParamIsAutoRenew
- type CreateInstanceExtendParamIsAutoRenewEnum
- type CreateInstanceExtendParamPeriodType
- type CreateInstanceExtendParamPeriodTypeEnum
- type CreateInstanceReq
- type CreateInstanceRequest
- type CreateInstanceResponse
- type CreateUsersDatabases
- type CreateUsersDetailResponses
- type CreateUsersInfo
- type CreateUsersInfoBaseAuthority
- type CreateUsersInfoBaseAuthorityEnum
- type CreateUsersInfoExtendAuthority
- type CreateUsersInfoExtendAuthorityEnum
- type CreateUsersReq
- type CreateUsersRequest
- type CreateUsersResponse
- type DatabaseInstabcesParam
- type DeleteDatabaseRequest
- type DeleteDatabaseRequestDeleteRdsData
- type DeleteDatabaseRequestDeleteRdsDataEnum
- type DeleteDatabaseResponse
- type DeleteInstanceRequest
- type DeleteInstanceRequestDeleteRdsData
- type DeleteInstanceRequestDeleteRdsDataEnum
- type DeleteInstanceResponse
- type DeleteUserRequest
- type DeleteUserResponse
- type EngineGroupsInfo
- type EnlargeRequest
- type ExpandInstanceNodesRequest
- type ExpandInstanceNodesResponse
- type GetDatabaseInfo
- type GetDatabaseResponseBean
- type GetDatabaseUsedRds
- type GetDatabases
- type GetDetailfNodesInfo
- type GetUsersListDetailResponses
- type GetUsersListdatabase
- type ListAvailableRdsListRequest
- type ListAvailableRdsListResponse
- type ListDatabasesRequest
- type ListDatabasesResponse
- type ListEnginesRequest
- type ListEnginesResponse
- type ListFlavorsRequest
- type ListFlavorsResponse
- type ListInstancesRequest
- type ListInstancesResponse
- type ListNodesRequest
- type ListNodesResponse
- type ListReadWriteRatioRequest
- type ListReadWriteRatioResponse
- type ListSlowLogRequest
- type ListSlowLogResponse
- type ListUsersRequest
- type ListUsersResponse
- type ModifyInstanceNameReq
- type ModifyInstanceSecurityGroupReq
- type ModifyReadAndWriteStrategyReq
- type NodeList
- type QueryAvailableRdsList
- type ReadWriteRatioList
- type RebuildConfigRequest
- type RebuildConfigResponse
- type ReduceRequest
- type ResetUserPasswordReq
- type ResetUserPasswordRequest
- type ResetUserPasswordResponse
- type RestarInstanceInfo
- type RestarInstanceInfoType
- type RestarInstanceInfoTypeEnum
- type RestartInstanceReq
- type RestartInstanceRequest
- type RestartInstanceResponse
- type ShowDatabaseRequest
- type ShowDatabaseResponse
- type ShowInstanceBeanResponse
- type ShowInstanceParamRequest
- type ShowInstanceParamResponse
- type ShowInstanceRequest
- type ShowInstanceResponse
- type ShowNodeRequest
- type ShowNodeResponse
- type ShrinkInstanceNodesRequest
- type ShrinkInstanceNodesResponse
- type SlowLogList
- type SupportAzsInfo
- type UpdateDatabaseInfoRequest
- type UpdateDatabaseInfoResponse
- type UpdateInstanceNameRequest
- type UpdateInstanceNameResponse
- type UpdateInstanceParamRequest
- type UpdateInstanceParamResponse
- type UpdateInstanceSecurityGroupRequest
- type UpdateInstanceSecurityGroupResponse
- type UpdateParametersReq
- type UpdateReadAndWriteStrategyRequest
- type UpdateReadAndWriteStrategyResponse
- type UpdateUserDetailReq
- type UpdateUserDetailReqBaseAuthority
- type UpdateUserDetailReqBaseAuthorityEnum
- type UpdateUserDetailReqExtendAuthority
- type UpdateUserDetailReqExtendAuthorityEnum
- type UpdateUserReq
- type UpdateUserRequest
- type UpdateUserResponse
- type UpdateUsersDatabases
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComputeFlavorGroupsInfo ¶
type ComputeFlavorGroupsInfo struct { GroupType *string `json:"groupType,omitempty"` ComputeFlavors *[]ComputeFlavors `json:"computeFlavors,omitempty"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` Total *int32 `json:"total,omitempty"` }
func (ComputeFlavorGroupsInfo) String ¶
func (o ComputeFlavorGroupsInfo) String() string
type ComputeFlavors ¶
type ComputeFlavors struct { Id *string `json:"id,omitempty"` TypeCode *string `json:"typeCode,omitempty"` Code *string `json:"code,omitempty"` IaasCode *string `json:"iaasCode,omitempty"` Cpu *string `json:"cpu,omitempty"` Mem *string `json:"mem,omitempty"` MaxConnections *string `json:"maxConnections,omitempty"` ServerType *string `json:"serverType,omitempty"` Architecture *string `json:"architecture,omitempty"` AzStatus *interface{} `json:"azStatus,omitempty"` RegionStatus *string `json:"regionStatus,omitempty"` GroupType *string `json:"groupType,omitempty"` DbType *string `json:"dbType,omitempty"` ExtendFields *interface{} `json:"extendFields,omitempty"` }
func (ComputeFlavors) String ¶
func (o ComputeFlavors) String() string
type ConfigurationParameterList ¶
type ConfigurationParameterList struct { Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` NeedRestart *string `json:"need_restart,omitempty"` ReadOnly *string `json:"read_only,omitempty"` ValueRange *string `json:"value_range,omitempty"` DataType *string `json:"data_type,omitempty"` Description *string `json:"description,omitempty"` }
func (ConfigurationParameterList) String ¶
func (o ConfigurationParameterList) String() string
type CreateDatabaseDetail ¶
type CreateDatabaseDetail struct { Name string `json:"name"` ShardMode CreateDatabaseDetailShardMode `json:"shard_mode"` ShardNumber int32 `json:"shard_number"` ShardUnit int32 `json:"shard_unit"` UsedRds []DatabaseInstabcesParam `json:"used_rds"` }
databases参数说明
func (CreateDatabaseDetail) String ¶
func (o CreateDatabaseDetail) String() string
type CreateDatabaseDetailResponses ¶
type CreateDatabaseDetailResponses struct {
Name string `json:"name"`
}
This is a auto create Response Object
func (CreateDatabaseDetailResponses) String ¶
func (o CreateDatabaseDetailResponses) String() string
type CreateDatabaseDetailShardMode ¶
type CreateDatabaseDetailShardMode struct {
// contains filtered or unexported fields
}
func (CreateDatabaseDetailShardMode) MarshalJSON ¶
func (c CreateDatabaseDetailShardMode) MarshalJSON() ([]byte, error)
func (*CreateDatabaseDetailShardMode) UnmarshalJSON ¶
func (c *CreateDatabaseDetailShardMode) UnmarshalJSON(b []byte) error
type CreateDatabaseDetailShardModeEnum ¶
type CreateDatabaseDetailShardModeEnum struct { CLUSTER CreateDatabaseDetailShardMode SINGLE CreateDatabaseDetailShardMode }
func GetCreateDatabaseDetailShardModeEnum ¶
func GetCreateDatabaseDetailShardModeEnum() CreateDatabaseDetailShardModeEnum
type CreateDatabaseReq ¶
type CreateDatabaseReq struct {
Databases []CreateDatabaseDetail `json:"databases"`
}
This is a auto create Body Object
func (CreateDatabaseReq) String ¶
func (o CreateDatabaseReq) String() string
type CreateDatabaseRequest ¶
type CreateDatabaseRequest struct { InstanceId string `json:"instance_id"` Body *CreateDatabaseReq `json:"body,omitempty"` }
Request Object
func (CreateDatabaseRequest) String ¶
func (o CreateDatabaseRequest) String() string
type CreateDatabaseResponse ¶
type CreateDatabaseResponse struct { Databases *[]CreateDatabaseDetailResponses `json:"databases,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateDatabaseResponse) String ¶
func (o CreateDatabaseResponse) String() string
type CreateInstanceDetail ¶
type CreateInstanceDetail struct { Name string `json:"name"` FlavorId string `json:"flavor_id"` NodeNum int32 `json:"node_num"` EngineId string `json:"engine_id"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` AvailableZones []string `json:"available_zones"` VpcId string `json:"vpc_id"` SecurityGroupId string `json:"security_group_id"` SubnetId string `json:"subnet_id"` ParamGroupId *string `json:"param_group_id,omitempty"` }
实例相关信息的集合
func (CreateInstanceDetail) String ¶
func (o CreateInstanceDetail) String() string
type CreateInstanceExtendParam ¶
type CreateInstanceExtendParam struct { ChargeMode *CreateInstanceExtendParamChargeMode `json:"charge_mode,omitempty"` PeriodType *CreateInstanceExtendParamPeriodType `json:"period_type,omitempty"` PeriodNum *int32 `json:"period_num,omitempty"` IsAutoRenew *CreateInstanceExtendParamIsAutoRenew `json:"is_auto_renew,omitempty"` IsAutoPay *CreateInstanceExtendParamIsAutoPay `json:"is_auto_pay,omitempty"` }
扩展参数说明
func (CreateInstanceExtendParam) String ¶
func (o CreateInstanceExtendParam) String() string
type CreateInstanceExtendParamChargeMode ¶
type CreateInstanceExtendParamChargeMode struct {
// contains filtered or unexported fields
}
func (CreateInstanceExtendParamChargeMode) MarshalJSON ¶
func (c CreateInstanceExtendParamChargeMode) MarshalJSON() ([]byte, error)
func (*CreateInstanceExtendParamChargeMode) UnmarshalJSON ¶
func (c *CreateInstanceExtendParamChargeMode) UnmarshalJSON(b []byte) error
type CreateInstanceExtendParamChargeModeEnum ¶
type CreateInstanceExtendParamChargeModeEnum struct { PRE_PAID CreateInstanceExtendParamChargeMode POST_PAID CreateInstanceExtendParamChargeMode }
func GetCreateInstanceExtendParamChargeModeEnum ¶
func GetCreateInstanceExtendParamChargeModeEnum() CreateInstanceExtendParamChargeModeEnum
type CreateInstanceExtendParamIsAutoPay ¶
type CreateInstanceExtendParamIsAutoPay struct {
// contains filtered or unexported fields
}
func (CreateInstanceExtendParamIsAutoPay) MarshalJSON ¶
func (c CreateInstanceExtendParamIsAutoPay) MarshalJSON() ([]byte, error)
func (*CreateInstanceExtendParamIsAutoPay) UnmarshalJSON ¶
func (c *CreateInstanceExtendParamIsAutoPay) UnmarshalJSON(b []byte) error
type CreateInstanceExtendParamIsAutoPayEnum ¶
type CreateInstanceExtendParamIsAutoPayEnum struct { TRUE CreateInstanceExtendParamIsAutoPay FALSE CreateInstanceExtendParamIsAutoPay }
func GetCreateInstanceExtendParamIsAutoPayEnum ¶
func GetCreateInstanceExtendParamIsAutoPayEnum() CreateInstanceExtendParamIsAutoPayEnum
type CreateInstanceExtendParamIsAutoRenew ¶
type CreateInstanceExtendParamIsAutoRenew struct {
// contains filtered or unexported fields
}
func (CreateInstanceExtendParamIsAutoRenew) MarshalJSON ¶
func (c CreateInstanceExtendParamIsAutoRenew) MarshalJSON() ([]byte, error)
func (*CreateInstanceExtendParamIsAutoRenew) UnmarshalJSON ¶
func (c *CreateInstanceExtendParamIsAutoRenew) UnmarshalJSON(b []byte) error
type CreateInstanceExtendParamIsAutoRenewEnum ¶
type CreateInstanceExtendParamIsAutoRenewEnum struct { TRUE CreateInstanceExtendParamIsAutoRenew FALSE CreateInstanceExtendParamIsAutoRenew }
func GetCreateInstanceExtendParamIsAutoRenewEnum ¶
func GetCreateInstanceExtendParamIsAutoRenewEnum() CreateInstanceExtendParamIsAutoRenewEnum
type CreateInstanceExtendParamPeriodType ¶
type CreateInstanceExtendParamPeriodType struct {
// contains filtered or unexported fields
}
func (CreateInstanceExtendParamPeriodType) MarshalJSON ¶
func (c CreateInstanceExtendParamPeriodType) MarshalJSON() ([]byte, error)
func (*CreateInstanceExtendParamPeriodType) UnmarshalJSON ¶
func (c *CreateInstanceExtendParamPeriodType) UnmarshalJSON(b []byte) error
type CreateInstanceExtendParamPeriodTypeEnum ¶
type CreateInstanceExtendParamPeriodTypeEnum struct { MONTH CreateInstanceExtendParamPeriodType YEAR CreateInstanceExtendParamPeriodType }
func GetCreateInstanceExtendParamPeriodTypeEnum ¶
func GetCreateInstanceExtendParamPeriodTypeEnum() CreateInstanceExtendParamPeriodTypeEnum
type CreateInstanceReq ¶
type CreateInstanceReq struct { Instance *CreateInstanceDetail `json:"instance"` ExtendParam *CreateInstanceExtendParam `json:"extend_param,omitempty"` }
This is a auto create Body Object
func (CreateInstanceReq) String ¶
func (o CreateInstanceReq) String() string
type CreateInstanceRequest ¶
type CreateInstanceRequest struct {
Body *CreateInstanceReq `json:"body,omitempty"`
}
Request Object
func (CreateInstanceRequest) String ¶
func (o CreateInstanceRequest) String() string
type CreateInstanceResponse ¶
type CreateInstanceResponse struct { Id *string `json:"id,omitempty"` OrderId *string `json:"order_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateInstanceResponse) String ¶
func (o CreateInstanceResponse) String() string
type CreateUsersDatabases ¶
type CreateUsersDatabases struct {
Name string `json:"name"`
}
func (CreateUsersDatabases) String ¶
func (o CreateUsersDatabases) String() string
type CreateUsersDetailResponses ¶
type CreateUsersDetailResponses struct {
Name string `json:"name"`
}
This is a auto create response Object
func (CreateUsersDetailResponses) String ¶
func (o CreateUsersDetailResponses) String() string
type CreateUsersInfo ¶
type CreateUsersInfo struct { Name string `json:"name"` Password string `json:"password"` BaseAuthority []CreateUsersInfoBaseAuthority `json:"base_authority"` ExtendAuthority *[]CreateUsersInfoExtendAuthority `json:"extend_authority,omitempty"` Description *string `json:"description,omitempty"` Databases *[]CreateUsersDatabases `json:"databases,omitempty"` }
This is a auto create Body Object
func (CreateUsersInfo) String ¶
func (o CreateUsersInfo) String() string
type CreateUsersInfoBaseAuthority ¶
type CreateUsersInfoBaseAuthority struct {
// contains filtered or unexported fields
}
func (CreateUsersInfoBaseAuthority) MarshalJSON ¶
func (c CreateUsersInfoBaseAuthority) MarshalJSON() ([]byte, error)
func (*CreateUsersInfoBaseAuthority) UnmarshalJSON ¶
func (c *CreateUsersInfoBaseAuthority) UnmarshalJSON(b []byte) error
type CreateUsersInfoBaseAuthorityEnum ¶
type CreateUsersInfoBaseAuthorityEnum struct { CREATE CreateUsersInfoBaseAuthority DROP CreateUsersInfoBaseAuthority ALTER CreateUsersInfoBaseAuthority INDEX CreateUsersInfoBaseAuthority INSERT CreateUsersInfoBaseAuthority DELETE CreateUsersInfoBaseAuthority UPDATE CreateUsersInfoBaseAuthority SELECT CreateUsersInfoBaseAuthority }
func GetCreateUsersInfoBaseAuthorityEnum ¶
func GetCreateUsersInfoBaseAuthorityEnum() CreateUsersInfoBaseAuthorityEnum
type CreateUsersInfoExtendAuthority ¶
type CreateUsersInfoExtendAuthority struct {
// contains filtered or unexported fields
}
func (CreateUsersInfoExtendAuthority) MarshalJSON ¶
func (c CreateUsersInfoExtendAuthority) MarshalJSON() ([]byte, error)
func (*CreateUsersInfoExtendAuthority) UnmarshalJSON ¶
func (c *CreateUsersInfoExtendAuthority) UnmarshalJSON(b []byte) error
type CreateUsersInfoExtendAuthorityEnum ¶
type CreateUsersInfoExtendAuthorityEnum struct { FULLTABLE_SELECT CreateUsersInfoExtendAuthority FULLTABLE_DELETE CreateUsersInfoExtendAuthority FULLTABLE_UPDATE CreateUsersInfoExtendAuthority }
func GetCreateUsersInfoExtendAuthorityEnum ¶
func GetCreateUsersInfoExtendAuthorityEnum() CreateUsersInfoExtendAuthorityEnum
type CreateUsersReq ¶
type CreateUsersReq struct {
Users []CreateUsersInfo `json:"users"`
}
This is a auto create Body Object
func (CreateUsersReq) String ¶
func (o CreateUsersReq) String() string
type CreateUsersRequest ¶
type CreateUsersRequest struct { InstanceId string `json:"instance_id"` Body *CreateUsersReq `json:"body,omitempty"` }
Request Object
func (CreateUsersRequest) String ¶
func (o CreateUsersRequest) String() string
type CreateUsersResponse ¶
type CreateUsersResponse struct { Users *[]CreateUsersDetailResponses `json:"users,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateUsersResponse) String ¶
func (o CreateUsersResponse) String() string
type DatabaseInstabcesParam ¶
type DatabaseInstabcesParam struct { Id string `json:"id"` AdminUser string `json:"adminUser"` AdminPassword string `json:"adminPassword"` }
used_rds参数说明
func (DatabaseInstabcesParam) String ¶
func (o DatabaseInstabcesParam) String() string
type DeleteDatabaseRequest ¶
type DeleteDatabaseRequest struct { InstanceId string `json:"instance_id"` DdmDbname string `json:"ddm_dbname"` DeleteRdsData *DeleteDatabaseRequestDeleteRdsData `json:"delete_rds_data,omitempty"` }
Request Object
func (DeleteDatabaseRequest) String ¶
func (o DeleteDatabaseRequest) String() string
type DeleteDatabaseRequestDeleteRdsData ¶
type DeleteDatabaseRequestDeleteRdsData struct {
// contains filtered or unexported fields
}
func (DeleteDatabaseRequestDeleteRdsData) MarshalJSON ¶
func (c DeleteDatabaseRequestDeleteRdsData) MarshalJSON() ([]byte, error)
func (*DeleteDatabaseRequestDeleteRdsData) UnmarshalJSON ¶
func (c *DeleteDatabaseRequestDeleteRdsData) UnmarshalJSON(b []byte) error
type DeleteDatabaseRequestDeleteRdsDataEnum ¶
type DeleteDatabaseRequestDeleteRdsDataEnum struct { TRUE DeleteDatabaseRequestDeleteRdsData FALSE DeleteDatabaseRequestDeleteRdsData }
func GetDeleteDatabaseRequestDeleteRdsDataEnum ¶
func GetDeleteDatabaseRequestDeleteRdsDataEnum() DeleteDatabaseRequestDeleteRdsDataEnum
type DeleteDatabaseResponse ¶
type DeleteDatabaseResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteDatabaseResponse) String ¶
func (o DeleteDatabaseResponse) String() string
type DeleteInstanceRequest ¶
type DeleteInstanceRequest struct { InstanceId string `json:"instance_id"` DeleteRdsData *DeleteInstanceRequestDeleteRdsData `json:"delete_rds_data,omitempty"` }
Request Object
func (DeleteInstanceRequest) String ¶
func (o DeleteInstanceRequest) String() string
type DeleteInstanceRequestDeleteRdsData ¶
type DeleteInstanceRequestDeleteRdsData struct {
// contains filtered or unexported fields
}
func (DeleteInstanceRequestDeleteRdsData) MarshalJSON ¶
func (c DeleteInstanceRequestDeleteRdsData) MarshalJSON() ([]byte, error)
func (*DeleteInstanceRequestDeleteRdsData) UnmarshalJSON ¶
func (c *DeleteInstanceRequestDeleteRdsData) UnmarshalJSON(b []byte) error
type DeleteInstanceRequestDeleteRdsDataEnum ¶
type DeleteInstanceRequestDeleteRdsDataEnum struct { TRUE DeleteInstanceRequestDeleteRdsData FALSE DeleteInstanceRequestDeleteRdsData }
func GetDeleteInstanceRequestDeleteRdsDataEnum ¶
func GetDeleteInstanceRequestDeleteRdsDataEnum() DeleteInstanceRequestDeleteRdsDataEnum
type DeleteInstanceResponse ¶
type DeleteInstanceResponse struct { Id *string `json:"id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteInstanceResponse) String ¶
func (o DeleteInstanceResponse) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct { InstanceId string `json:"instance_id"` Username string `json:"username"` }
Request Object
func (DeleteUserRequest) String ¶
func (o DeleteUserRequest) String() string
type DeleteUserResponse ¶
type DeleteUserResponse struct { Name *string `json:"name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteUserResponse) String ¶
func (o DeleteUserResponse) String() string
type EngineGroupsInfo ¶
type EngineGroupsInfo struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Version *string `json:"version,omitempty"` SupportAzs *[]SupportAzsInfo `json:"supportAzs,omitempty"` }
func (EngineGroupsInfo) String ¶
func (o EngineGroupsInfo) String() string
type EnlargeRequest ¶
type EnlargeRequest struct { FlavorId string `json:"flavor_id"` NodeNumber int32 `json:"node_number"` }
This is a auto request Object
func (EnlargeRequest) String ¶
func (o EnlargeRequest) String() string
type ExpandInstanceNodesRequest ¶
type ExpandInstanceNodesRequest struct { InstanceId string `json:"instance_id"` Body *EnlargeRequest `json:"body,omitempty"` }
Request Object
func (ExpandInstanceNodesRequest) String ¶
func (o ExpandInstanceNodesRequest) String() string
type ExpandInstanceNodesResponse ¶
type ExpandInstanceNodesResponse struct { InstanceId *string `json:"instanceId,omitempty"` InstanceName *string `json:"instanceName,omitempty"` JobId *string `json:"jobId,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ExpandInstanceNodesResponse) String ¶
func (o ExpandInstanceNodesResponse) String() string
type GetDatabaseInfo ¶
type GetDatabaseInfo struct { Name string `json:"name"` ShardMode string `json:"shard_mode"` ShardNumber int32 `json:"shard_number"` Status string `json:"status"` Created string `json:"created"` UsedRds []GetDatabaseUsedRds `json:"used_rds"` ShardUnit int32 `json:"shard_unit"` }
databases 返回参数
func (GetDatabaseInfo) String ¶
func (o GetDatabaseInfo) String() string
type GetDatabaseResponseBean ¶
type GetDatabaseResponseBean struct { Name string `json:"name"` Created string `json:"created"` Status string `json:"status"` Updated string `json:"updated"` Databases []GetDatabases `json:"databases"` ShardMode string `json:"shard_mode"` ShardNumber int32 `json:"shard_number"` ShardUnit int32 `json:"shard_unit"` DataVips []string `json:"dataVips"` UsedRds []GetDatabaseUsedRds `json:"used_rds"` }
database 返回参数
func (GetDatabaseResponseBean) String ¶
func (o GetDatabaseResponseBean) String() string
type GetDatabaseUsedRds ¶
type GetDatabaseUsedRds struct { Id string `json:"id"` Name string `json:"name"` Status string `json:"status"` ErrorMsg *string `json:"error_msg,omitempty"` }
used_rds 返回参数
func (GetDatabaseUsedRds) String ¶
func (o GetDatabaseUsedRds) String() string
type GetDatabases ¶
type GetDatabases struct { Dbslot int32 `json:"dbslot"` Name string `json:"name"` Status string `json:"status"` Created string `json:"created"` Updated string `json:"updated"` Id string `json:"id"` IdName string `json:"idName"` }
databases返回参数
func (GetDatabases) String ¶
func (o GetDatabases) String() string
type GetDetailfNodesInfo ¶
type GetDetailfNodesInfo struct { Status string `json:"status"` Port string `json:"port"` Ip string `json:"ip"` }
nodes参数说明。
func (GetDetailfNodesInfo) String ¶
func (o GetDetailfNodesInfo) String() string
type GetUsersListDetailResponses ¶
type GetUsersListDetailResponses struct { Name string `json:"name"` Status string `json:"status"` BaseAuthority []string `json:"base_authority"` ExtendAuthority []string `json:"extend_authority"` Description string `json:"description"` Created int64 `json:"created"` Databases []GetUsersListdatabase `json:"databases"` }
This is a auto query response Object
func (GetUsersListDetailResponses) String ¶
func (o GetUsersListDetailResponses) String() string
type GetUsersListdatabase ¶
type GetUsersListdatabase struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` }
This is a auto query response Object
func (GetUsersListdatabase) String ¶
func (o GetUsersListdatabase) String() string
type ListAvailableRdsListRequest ¶
type ListAvailableRdsListRequest struct { InstanceId string `json:"instance_id"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListAvailableRdsListRequest) String ¶
func (o ListAvailableRdsListRequest) String() string
type ListAvailableRdsListResponse ¶
type ListAvailableRdsListResponse struct { Instances *[]QueryAvailableRdsList `json:"instances,omitempty"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAvailableRdsListResponse) String ¶
func (o ListAvailableRdsListResponse) String() string
type ListDatabasesRequest ¶
type ListDatabasesRequest struct { InstanceId string `json:"instance_id"` Offset int32 `json:"offset"` Limit int32 `json:"limit"` }
Request Object
func (ListDatabasesRequest) String ¶
func (o ListDatabasesRequest) String() string
type ListDatabasesResponse ¶
type ListDatabasesResponse struct { Databases *[]GetDatabaseInfo `json:"databases,omitempty"` Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListDatabasesResponse) String ¶
func (o ListDatabasesResponse) String() string
type ListEnginesRequest ¶
type ListEnginesRequest struct { Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListEnginesRequest) String ¶
func (o ListEnginesRequest) String() string
type ListEnginesResponse ¶
type ListEnginesResponse struct { EngineGroups *[]EngineGroupsInfo `json:"engineGroups,omitempty"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListEnginesResponse) String ¶
func (o ListEnginesResponse) String() string
type ListFlavorsRequest ¶
type ListFlavorsRequest struct { EngineId string `json:"engine_id"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListFlavorsRequest) String ¶
func (o ListFlavorsRequest) String() string
type ListFlavorsResponse ¶
type ListFlavorsResponse struct { ComputeFlavorGroups *[]ComputeFlavorGroupsInfo `json:"computeFlavorGroups,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListFlavorsResponse) String ¶
func (o ListFlavorsResponse) String() string
type ListInstancesRequest ¶
Request Object
func (ListInstancesRequest) String ¶
func (o ListInstancesRequest) String() string
type ListInstancesResponse ¶
type ListInstancesResponse struct { Instances *[]ShowInstanceBeanResponse `json:"instances,omitempty"` InstanceNum *int32 `json:"instance_num,omitempty"` PageNo *int32 `json:"page_no,omitempty"` PageSize *int32 `json:"page_size,omitempty"` TotalRecord *int32 `json:"total_record,omitempty"` TotalPage *int32 `json:"total_page,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListInstancesResponse) String ¶
func (o ListInstancesResponse) String() string
type ListNodesRequest ¶
type ListNodesRequest struct { InstanceId string `json:"instance_id"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListNodesRequest) String ¶
func (o ListNodesRequest) String() string
type ListNodesResponse ¶
type ListNodesResponse struct { Nodes *[]NodeList `json:"nodes,omitempty"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListNodesResponse) String ¶
func (o ListNodesResponse) String() string
type ListReadWriteRatioRequest ¶
type ListReadWriteRatioRequest struct { InstanceId string `json:"instance_id"` CurPage string `json:"curPage"` PerPage string `json:"perPage"` StartDate string `json:"startDate"` EndDate string `json:"endDate"` }
Request Object
func (ListReadWriteRatioRequest) String ¶
func (o ListReadWriteRatioRequest) String() string
type ListReadWriteRatioResponse ¶
type ListReadWriteRatioResponse struct { TotalRecord *int32 `json:"totalRecord,omitempty"` ReadWriteRatioList *[]ReadWriteRatioList `json:"readWriteRatioList,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListReadWriteRatioResponse) String ¶
func (o ListReadWriteRatioResponse) String() string
type ListSlowLogRequest ¶
type ListSlowLogRequest struct { InstanceId string `json:"instance_id"` CurPage string `json:"curPage"` PerPage string `json:"perPage"` StartDate string `json:"startDate"` EndDate string `json:"endDate"` }
Request Object
func (ListSlowLogRequest) String ¶
func (o ListSlowLogRequest) String() string
type ListSlowLogResponse ¶
type ListSlowLogResponse struct { TotalRecord *int32 `json:"totalRecord,omitempty"` SlowLogList *[]SlowLogList `json:"slowLogList,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListSlowLogResponse) String ¶
func (o ListSlowLogResponse) String() string
type ListUsersRequest ¶
type ListUsersRequest struct { InstanceId string `json:"instance_id"` Offset int32 `json:"offset"` Limit int32 `json:"limit"` }
Request Object
func (ListUsersRequest) String ¶
func (o ListUsersRequest) String() string
type ListUsersResponse ¶
type ListUsersResponse struct { Users *[]GetUsersListDetailResponses `json:"users,omitempty"` PageNo *int32 `json:"page_no,omitempty"` PageSize *int32 `json:"page_size,omitempty"` TotalRecord *int32 `json:"total_record,omitempty"` TotalPage *int32 `json:"total_page,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListUsersResponse) String ¶
func (o ListUsersResponse) String() string
type ModifyInstanceNameReq ¶
type ModifyInstanceNameReq struct {
Name string `json:"name"`
}
This is a auto update body Object
func (ModifyInstanceNameReq) String ¶
func (o ModifyInstanceNameReq) String() string
type ModifyInstanceSecurityGroupReq ¶
type ModifyInstanceSecurityGroupReq struct {
SecurityGroupId string `json:"security_group_id"`
}
This is a auto update body Object
func (ModifyInstanceSecurityGroupReq) String ¶
func (o ModifyInstanceSecurityGroupReq) String() string
type ModifyReadAndWriteStrategyReq ¶
type ModifyReadAndWriteStrategyReq struct {
ReadWeight *interface{} `json:"read_weight"`
}
This is a auto read_weight Body Object
func (ModifyReadAndWriteStrategyReq) String ¶
func (o ModifyReadAndWriteStrategyReq) String() string
type NodeList ¶
type QueryAvailableRdsList ¶
type QueryAvailableRdsList struct { Id *string `json:"id,omitempty"` ProjectId *string `json:"projectId,omitempty"` Status *string `json:"status,omitempty"` Name *string `json:"name,omitempty"` EngineName *string `json:"engineName,omitempty"` EngineSoftwareVersion *string `json:"engineSoftwareVersion,omitempty"` PrivateIp *string `json:"privateIp,omitempty"` Mode *string `json:"mode,omitempty"` Port *int32 `json:"port,omitempty"` AzCode *string `json:"azCode,omitempty"` TimeZone *string `json:"timeZone,omitempty"` }
QueryAvailableRdsList。
func (QueryAvailableRdsList) String ¶
func (o QueryAvailableRdsList) String() string
type ReadWriteRatioList ¶
type ReadWriteRatioList struct { Schema *string `json:"schema,omitempty"` Table *string `json:"table,omitempty"` ReadCount *string `json:"readCount,omitempty"` WriteCount *string `json:"writeCount,omitempty"` RelationTables *string `json:"relationTables,omitempty"` LastUpdated *string `json:"lastUpdated,omitempty"` }
func (ReadWriteRatioList) String ¶
func (o ReadWriteRatioList) String() string
type RebuildConfigRequest ¶
type RebuildConfigRequest struct {
InstanceId string `json:"instance_id"`
}
Request Object
func (RebuildConfigRequest) String ¶
func (o RebuildConfigRequest) String() string
type RebuildConfigResponse ¶
type RebuildConfigResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RebuildConfigResponse) String ¶
func (o RebuildConfigResponse) String() string
type ReduceRequest ¶
type ReduceRequest struct {
NodeNumber int32 `json:"node_number"`
}
This is a auto request Object
func (ReduceRequest) String ¶
func (o ReduceRequest) String() string
type ResetUserPasswordReq ¶
type ResetUserPasswordReq struct {
Password string `json:"password"`
}
ResetUserPasswordReq。
func (ResetUserPasswordReq) String ¶
func (o ResetUserPasswordReq) String() string
type ResetUserPasswordRequest ¶
type ResetUserPasswordRequest struct { InstanceId string `json:"instance_id"` Username string `json:"username"` Body *ResetUserPasswordReq `json:"body,omitempty"` }
Request Object
func (ResetUserPasswordRequest) String ¶
func (o ResetUserPasswordRequest) String() string
type ResetUserPasswordResponse ¶
type ResetUserPasswordResponse struct { Success *bool `json:"success,omitempty"` InstanceId *string `json:"instance_id,omitempty"` UserName *string `json:"user_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ResetUserPasswordResponse) String ¶
func (o ResetUserPasswordResponse) String() string
type RestarInstanceInfo ¶
type RestarInstanceInfo struct {
Type *RestarInstanceInfoType `json:"type,omitempty"`
}
This is a auto restart Body Object
func (RestarInstanceInfo) String ¶
func (o RestarInstanceInfo) String() string
type RestarInstanceInfoType ¶
type RestarInstanceInfoType struct {
// contains filtered or unexported fields
}
func (RestarInstanceInfoType) MarshalJSON ¶
func (c RestarInstanceInfoType) MarshalJSON() ([]byte, error)
func (*RestarInstanceInfoType) UnmarshalJSON ¶
func (c *RestarInstanceInfoType) UnmarshalJSON(b []byte) error
type RestarInstanceInfoTypeEnum ¶
type RestarInstanceInfoTypeEnum struct { SOFT RestarInstanceInfoType HARD RestarInstanceInfoType }
func GetRestarInstanceInfoTypeEnum ¶
func GetRestarInstanceInfoTypeEnum() RestarInstanceInfoTypeEnum
type RestartInstanceReq ¶
type RestartInstanceReq struct {
Restart *RestarInstanceInfo `json:"restart,omitempty"`
}
This is a auto restart Body Object
func (RestartInstanceReq) String ¶
func (o RestartInstanceReq) String() string
type RestartInstanceRequest ¶
type RestartInstanceRequest struct { InstanceId string `json:"instance_id"` Body *RestartInstanceReq `json:"body,omitempty"` }
Request Object
func (RestartInstanceRequest) String ¶
func (o RestartInstanceRequest) String() string
type RestartInstanceResponse ¶
type RestartInstanceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RestartInstanceResponse) String ¶
func (o RestartInstanceResponse) String() string
type ShowDatabaseRequest ¶
type ShowDatabaseRequest struct { InstanceId string `json:"instance_id"` DdmDbname string `json:"ddm_dbname"` }
Request Object
func (ShowDatabaseRequest) String ¶
func (o ShowDatabaseRequest) String() string
type ShowDatabaseResponse ¶
type ShowDatabaseResponse struct { Database *GetDatabaseResponseBean `json:"database,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowDatabaseResponse) String ¶
func (o ShowDatabaseResponse) String() string
type ShowInstanceBeanResponse ¶
type ShowInstanceBeanResponse struct { Id string `json:"id"` Status string `json:"status"` Name string `json:"name"` Created string `json:"created"` Updated string `json:"updated"` AvailableZone string `json:"available_zone"` VpcId string `json:"vpc_id"` SubnetId string `json:"subnet_id"` SecurityGroupId string `json:"security_group_id"` NodeCount int32 `json:"node_count"` AccessIp string `json:"access_ip"` AccessPort string `json:"access_port"` CoreCount string `json:"core_count"` RamCapacity string `json:"ram_capacity"` ErrorMsg *string `json:"error_msg,omitempty"` NodeStatus string `json:"node_status"` EnterpriseProjectId string `json:"enterprise_project_id"` ProjectId string `json:"project_id"` EngineVersion string `json:"engine_version"` OrderId *string `json:"order_id,omitempty"` }
DDM实例的信息。
func (ShowInstanceBeanResponse) String ¶
func (o ShowInstanceBeanResponse) String() string
type ShowInstanceParamRequest ¶
type ShowInstanceParamRequest struct { InstanceId string `json:"instance_id"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` XLanguage *string `json:"X-Language,omitempty"` }
Request Object
func (ShowInstanceParamRequest) String ¶
func (o ShowInstanceParamRequest) String() string
type ShowInstanceParamResponse ¶
type ShowInstanceParamResponse struct { Updated *string `json:"updated,omitempty"` ConfigurationParameter *[]ConfigurationParameterList `json:"configuration_parameter,omitempty"` Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowInstanceParamResponse) String ¶
func (o ShowInstanceParamResponse) String() string
type ShowInstanceRequest ¶
type ShowInstanceRequest struct {
InstanceId string `json:"instance_id"`
}
Request Object
func (ShowInstanceRequest) String ¶
func (o ShowInstanceRequest) String() string
type ShowInstanceResponse ¶
type ShowInstanceResponse struct { Id *string `json:"id,omitempty"` Status *string `json:"status,omitempty"` Name *string `json:"name,omitempty"` Created *string `json:"created,omitempty"` Updated *string `json:"updated,omitempty"` AvailableZone *string `json:"available_zone,omitempty"` VpcId *string `json:"vpc_id,omitempty"` SubnetId *string `json:"subnet_id,omitempty"` SecurityGroupId *string `json:"security_group_id,omitempty"` NodeCount *int32 `json:"node_count,omitempty"` AccessIp *string `json:"access_ip,omitempty"` AccessPort *string `json:"access_port,omitempty"` NodeStatus *string `json:"node_status,omitempty"` CoreCount *string `json:"core_count,omitempty"` RamCapacity *string `json:"ram_capacity,omitempty"` ErrorMsg *string `json:"error_msg,omitempty"` ProjectId *string `json:"project_id,omitempty"` OrderId *string `json:"order_id,omitempty"` EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` EngineVersion *string `json:"engine_version,omitempty"` Nodes *[]GetDetailfNodesInfo `json:"nodes,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowInstanceResponse) String ¶
func (o ShowInstanceResponse) String() string
type ShowNodeRequest ¶
type ShowNodeRequest struct { InstanceId string `json:"instance_id"` NodeId string `json:"node_id"` }
Request Object
func (ShowNodeRequest) String ¶
func (o ShowNodeRequest) String() string
type ShowNodeResponse ¶
type ShowNodeResponse struct { Status *string `json:"status,omitempty"` Name *string `json:"name,omitempty"` NodeId *string `json:"node_id,omitempty"` PrivateIp *string `json:"private_ip,omitempty"` FloatingIp *string `json:"floating_ip,omitempty"` ServerId *string `json:"server_id,omitempty"` SubnetName *string `json:"subnet_name,omitempty"` DatavolumeId *string `json:"datavolume_id,omitempty"` ResSubnetIp *string `json:"res_subnet_ip,omitempty"` SystemvolumeId *string `json:"systemvolume_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowNodeResponse) String ¶
func (o ShowNodeResponse) String() string
type ShrinkInstanceNodesRequest ¶
type ShrinkInstanceNodesRequest struct { InstanceId string `json:"instance_id"` Body *ReduceRequest `json:"body,omitempty"` }
Request Object
func (ShrinkInstanceNodesRequest) String ¶
func (o ShrinkInstanceNodesRequest) String() string
type ShrinkInstanceNodesResponse ¶
type ShrinkInstanceNodesResponse struct { InstanceId *string `json:"instanceId,omitempty"` InstanceName *string `json:"instanceName,omitempty"` JobId *string `json:"jobId,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShrinkInstanceNodesResponse) String ¶
func (o ShrinkInstanceNodesResponse) String() string
type SlowLogList ¶
type SlowLogList struct { Users *string `json:"users,omitempty"` Database *string `json:"database,omitempty"` QuerySample *string `json:"querySample,omitempty"` LogTime *string `json:"logTime,omitempty"` Time *string `json:"time,omitempty"` Shards *string `json:"shards,omitempty"` RowsExamined *string `json:"rowsExamined,omitempty"` }
func (SlowLogList) String ¶
func (o SlowLogList) String() string
type SupportAzsInfo ¶
type SupportAzsInfo struct { Code *string `json:"code,omitempty"` Name *string `json:"name,omitempty"` Favored *bool `json:"favored,omitempty"` }
func (SupportAzsInfo) String ¶
func (o SupportAzsInfo) String() string
type UpdateDatabaseInfoRequest ¶
type UpdateDatabaseInfoRequest struct {
InstanceId string `json:"instance_id"`
}
Request Object
func (UpdateDatabaseInfoRequest) String ¶
func (o UpdateDatabaseInfoRequest) String() string
type UpdateDatabaseInfoResponse ¶
type UpdateDatabaseInfoResponse struct { InstanceId *string `json:"instanceId,omitempty"` JobId *string `json:"jobId,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDatabaseInfoResponse) String ¶
func (o UpdateDatabaseInfoResponse) String() string
type UpdateInstanceNameRequest ¶
type UpdateInstanceNameRequest struct { InstanceId string `json:"instance_id"` Body *ModifyInstanceNameReq `json:"body,omitempty"` }
Request Object
func (UpdateInstanceNameRequest) String ¶
func (o UpdateInstanceNameRequest) String() string
type UpdateInstanceNameResponse ¶
type UpdateInstanceNameResponse struct { Name *string `json:"name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateInstanceNameResponse) String ¶
func (o UpdateInstanceNameResponse) String() string
type UpdateInstanceParamRequest ¶
type UpdateInstanceParamRequest struct { InstanceId string `json:"instance_id"` XLanguage *string `json:"X-Language,omitempty"` Body *UpdateParametersReq `json:"body,omitempty"` }
Request Object
func (UpdateInstanceParamRequest) String ¶
func (o UpdateInstanceParamRequest) String() string
type UpdateInstanceParamResponse ¶
type UpdateInstanceParamResponse struct { NodeList *string `json:"nodeList,omitempty"` NeedRestart *bool `json:"needRestart,omitempty"` JobId *string `json:"jobId,omitempty"` ConfigId *string `json:"configId,omitempty"` ConfigName *string `json:"configName,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateInstanceParamResponse) String ¶
func (o UpdateInstanceParamResponse) String() string
type UpdateInstanceSecurityGroupRequest ¶
type UpdateInstanceSecurityGroupRequest struct { InstanceId string `json:"instance_id"` Body *ModifyInstanceSecurityGroupReq `json:"body,omitempty"` }
Request Object
func (UpdateInstanceSecurityGroupRequest) String ¶
func (o UpdateInstanceSecurityGroupRequest) String() string
type UpdateInstanceSecurityGroupResponse ¶
type UpdateInstanceSecurityGroupResponse struct { SecurityGroupId *string `json:"security_group_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateInstanceSecurityGroupResponse) String ¶
func (o UpdateInstanceSecurityGroupResponse) String() string
type UpdateParametersReq ¶
type UpdateParametersReq struct {
Values *interface{} `json:"values"`
}
func (UpdateParametersReq) String ¶
func (o UpdateParametersReq) String() string
type UpdateReadAndWriteStrategyRequest ¶
type UpdateReadAndWriteStrategyRequest struct { InstanceId string `json:"instance_id"` Body *ModifyReadAndWriteStrategyReq `json:"body,omitempty"` }
Request Object
func (UpdateReadAndWriteStrategyRequest) String ¶
func (o UpdateReadAndWriteStrategyRequest) String() string
type UpdateReadAndWriteStrategyResponse ¶
type UpdateReadAndWriteStrategyResponse struct { Success *bool `json:"success,omitempty"` InstanceId *string `json:"instance_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateReadAndWriteStrategyResponse) String ¶
func (o UpdateReadAndWriteStrategyResponse) String() string
type UpdateUserDetailReq ¶
type UpdateUserDetailReq struct { BaseAuthority *[]UpdateUserDetailReqBaseAuthority `json:"base_authority,omitempty"` ExtendAuthority *[]UpdateUserDetailReqExtendAuthority `json:"extend_authority,omitempty"` Description *string `json:"description,omitempty"` Databases *[]UpdateUsersDatabases `json:"databases,omitempty"` }
This is a auto update request Object
func (UpdateUserDetailReq) String ¶
func (o UpdateUserDetailReq) String() string
type UpdateUserDetailReqBaseAuthority ¶
type UpdateUserDetailReqBaseAuthority struct {
// contains filtered or unexported fields
}
func (UpdateUserDetailReqBaseAuthority) MarshalJSON ¶
func (c UpdateUserDetailReqBaseAuthority) MarshalJSON() ([]byte, error)
func (*UpdateUserDetailReqBaseAuthority) UnmarshalJSON ¶
func (c *UpdateUserDetailReqBaseAuthority) UnmarshalJSON(b []byte) error
type UpdateUserDetailReqBaseAuthorityEnum ¶
type UpdateUserDetailReqBaseAuthorityEnum struct { CREATE UpdateUserDetailReqBaseAuthority DROP UpdateUserDetailReqBaseAuthority ALTER UpdateUserDetailReqBaseAuthority INDEX UpdateUserDetailReqBaseAuthority INSERT UpdateUserDetailReqBaseAuthority DELETE UpdateUserDetailReqBaseAuthority UPDATE UpdateUserDetailReqBaseAuthority SELECT UpdateUserDetailReqBaseAuthority }
func GetUpdateUserDetailReqBaseAuthorityEnum ¶
func GetUpdateUserDetailReqBaseAuthorityEnum() UpdateUserDetailReqBaseAuthorityEnum
type UpdateUserDetailReqExtendAuthority ¶
type UpdateUserDetailReqExtendAuthority struct {
// contains filtered or unexported fields
}
func (UpdateUserDetailReqExtendAuthority) MarshalJSON ¶
func (c UpdateUserDetailReqExtendAuthority) MarshalJSON() ([]byte, error)
func (*UpdateUserDetailReqExtendAuthority) UnmarshalJSON ¶
func (c *UpdateUserDetailReqExtendAuthority) UnmarshalJSON(b []byte) error
type UpdateUserDetailReqExtendAuthorityEnum ¶
type UpdateUserDetailReqExtendAuthorityEnum struct { FULLTABLE_SELECT UpdateUserDetailReqExtendAuthority FULLTABLE_DELETE UpdateUserDetailReqExtendAuthority FULLTABLE_UPDATE UpdateUserDetailReqExtendAuthority }
func GetUpdateUserDetailReqExtendAuthorityEnum ¶
func GetUpdateUserDetailReqExtendAuthorityEnum() UpdateUserDetailReqExtendAuthorityEnum
type UpdateUserReq ¶
type UpdateUserReq struct {
User *UpdateUserDetailReq `json:"user"`
}
This is a auto update request Object
func (UpdateUserReq) String ¶
func (o UpdateUserReq) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct { InstanceId string `json:"instance_id"` Username string `json:"username"` Body *UpdateUserReq `json:"body,omitempty"` }
Request Object
func (UpdateUserRequest) String ¶
func (o UpdateUserRequest) String() string
type UpdateUserResponse ¶
type UpdateUserResponse struct { Name *string `json:"name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateUserResponse) String ¶
func (o UpdateUserResponse) String() string
type UpdateUsersDatabases ¶
type UpdateUsersDatabases struct {
Name *string `json:"name,omitempty"`
}
func (UpdateUsersDatabases) String ¶
func (o UpdateUsersDatabases) String() string
Source Files ¶
- model_compute_flavor_groups_info.go
- model_compute_flavors.go
- model_configuration_parameter_list.go
- model_create_database_detail.go
- model_create_database_detail_responses.go
- model_create_database_req.go
- model_create_database_request.go
- model_create_database_response.go
- model_create_instance_detail.go
- model_create_instance_extend_param.go
- model_create_instance_req.go
- model_create_instance_request.go
- model_create_instance_response.go
- model_create_users_databases.go
- model_create_users_detail_responses.go
- model_create_users_info.go
- model_create_users_req.go
- model_create_users_request.go
- model_create_users_response.go
- model_database_instabces_param.go
- model_delete_database_request.go
- model_delete_database_response.go
- model_delete_instance_request.go
- model_delete_instance_response.go
- model_delete_user_request.go
- model_delete_user_response.go
- model_engine_groups_info.go
- model_enlarge_request.go
- model_expand_instance_nodes_request.go
- model_expand_instance_nodes_response.go
- model_get_database_info.go
- model_get_database_response_bean.go
- model_get_database_used_rds.go
- model_get_databases.go
- model_get_detailf_nodes_info.go
- model_get_users_list_detail_responses.go
- model_get_users_listdatabase.go
- model_list_available_rds_list_request.go
- model_list_available_rds_list_response.go
- model_list_databases_request.go
- model_list_databases_response.go
- model_list_engines_request.go
- model_list_engines_response.go
- model_list_flavors_request.go
- model_list_flavors_response.go
- model_list_instances_request.go
- model_list_instances_response.go
- model_list_nodes_request.go
- model_list_nodes_response.go
- model_list_read_write_ratio_request.go
- model_list_read_write_ratio_response.go
- model_list_slow_log_request.go
- model_list_slow_log_response.go
- model_list_users_request.go
- model_list_users_response.go
- model_modify_instance_name_req.go
- model_modify_instance_security_group_req.go
- model_modify_read_and_write_strategy_req.go
- model_node_list.go
- model_query_available_rds_list.go
- model_read_write_ratio_list.go
- model_rebuild_config_request.go
- model_rebuild_config_response.go
- model_reduce_request.go
- model_reset_user_password_req.go
- model_reset_user_password_request.go
- model_reset_user_password_response.go
- model_restar_instance_info.go
- model_restart_instance_req.go
- model_restart_instance_request.go
- model_restart_instance_response.go
- model_show_database_request.go
- model_show_database_response.go
- model_show_instance_bean_response.go
- model_show_instance_param_request.go
- model_show_instance_param_response.go
- model_show_instance_request.go
- model_show_instance_response.go
- model_show_node_request.go
- model_show_node_response.go
- model_shrink_instance_nodes_request.go
- model_shrink_instance_nodes_response.go
- model_slow_log_list.go
- model_support_azs_info.go
- model_update_database_info_request.go
- model_update_database_info_response.go
- model_update_instance_name_request.go
- model_update_instance_name_response.go
- model_update_instance_param_request.go
- model_update_instance_param_response.go
- model_update_instance_security_group_request.go
- model_update_instance_security_group_response.go
- model_update_parameters_req.go
- model_update_read_and_write_strategy_request.go
- model_update_read_and_write_strategy_response.go
- model_update_user_detail_req.go
- model_update_user_req.go
- model_update_user_request.go
- model_update_user_response.go
- model_update_users_databases.go