Documentation ¶
Index ¶
- func DdmClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateDatabase() *def.HttpRequestDef
- func GenReqDefForCreateInstance() *def.HttpRequestDef
- func GenReqDefForCreateUsers() *def.HttpRequestDef
- func GenReqDefForDeleteDatabase() *def.HttpRequestDef
- func GenReqDefForDeleteInstance() *def.HttpRequestDef
- func GenReqDefForDeleteUser() *def.HttpRequestDef
- func GenReqDefForExpandInstanceNodes() *def.HttpRequestDef
- func GenReqDefForListAvailableRdsList() *def.HttpRequestDef
- func GenReqDefForListDatabases() *def.HttpRequestDef
- func GenReqDefForListEngines() *def.HttpRequestDef
- func GenReqDefForListFlavors() *def.HttpRequestDef
- func GenReqDefForListInstances() *def.HttpRequestDef
- func GenReqDefForListNodes() *def.HttpRequestDef
- func GenReqDefForListReadWriteRatio() *def.HttpRequestDef
- func GenReqDefForListSlowLog() *def.HttpRequestDef
- func GenReqDefForListUsers() *def.HttpRequestDef
- func GenReqDefForRebuildConfig() *def.HttpRequestDef
- func GenReqDefForResetAdministrator() *def.HttpRequestDef
- func GenReqDefForResetUserPassword() *def.HttpRequestDef
- func GenReqDefForResizeFlavor() *def.HttpRequestDef
- func GenReqDefForRestartInstance() *def.HttpRequestDef
- func GenReqDefForShowDatabase() *def.HttpRequestDef
- func GenReqDefForShowInstance() *def.HttpRequestDef
- func GenReqDefForShowInstanceParam() *def.HttpRequestDef
- func GenReqDefForShowNode() *def.HttpRequestDef
- func GenReqDefForShrinkInstanceNodes() *def.HttpRequestDef
- func GenReqDefForUpdateDatabaseInfo() *def.HttpRequestDef
- func GenReqDefForUpdateInstanceName() *def.HttpRequestDef
- func GenReqDefForUpdateInstanceParam() *def.HttpRequestDef
- func GenReqDefForUpdateInstanceSecurityGroup() *def.HttpRequestDef
- func GenReqDefForUpdateReadAndWriteStrategy() *def.HttpRequestDef
- func GenReqDefForUpdateUser() *def.HttpRequestDef
- func GenReqDefForValidateWeakPassword() *def.HttpRequestDef
- type CreateDatabaseInvoker
- type CreateInstanceInvoker
- type CreateUsersInvoker
- type DdmClient
- func (c *DdmClient) CreateDatabase(request *model.CreateDatabaseRequest) (*model.CreateDatabaseResponse, error)
- func (c *DdmClient) CreateDatabaseInvoker(request *model.CreateDatabaseRequest) *CreateDatabaseInvoker
- func (c *DdmClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)
- func (c *DdmClient) CreateInstanceInvoker(request *model.CreateInstanceRequest) *CreateInstanceInvoker
- func (c *DdmClient) CreateUsers(request *model.CreateUsersRequest) (*model.CreateUsersResponse, error)
- func (c *DdmClient) CreateUsersInvoker(request *model.CreateUsersRequest) *CreateUsersInvoker
- func (c *DdmClient) DeleteDatabase(request *model.DeleteDatabaseRequest) (*model.DeleteDatabaseResponse, error)
- func (c *DdmClient) DeleteDatabaseInvoker(request *model.DeleteDatabaseRequest) *DeleteDatabaseInvoker
- func (c *DdmClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)
- func (c *DdmClient) DeleteInstanceInvoker(request *model.DeleteInstanceRequest) *DeleteInstanceInvoker
- func (c *DdmClient) DeleteUser(request *model.DeleteUserRequest) (*model.DeleteUserResponse, error)
- func (c *DdmClient) DeleteUserInvoker(request *model.DeleteUserRequest) *DeleteUserInvoker
- func (c *DdmClient) ExpandInstanceNodes(request *model.ExpandInstanceNodesRequest) (*model.ExpandInstanceNodesResponse, error)
- func (c *DdmClient) ExpandInstanceNodesInvoker(request *model.ExpandInstanceNodesRequest) *ExpandInstanceNodesInvoker
- func (c *DdmClient) ListAvailableRdsList(request *model.ListAvailableRdsListRequest) (*model.ListAvailableRdsListResponse, error)
- func (c *DdmClient) ListAvailableRdsListInvoker(request *model.ListAvailableRdsListRequest) *ListAvailableRdsListInvoker
- func (c *DdmClient) ListDatabases(request *model.ListDatabasesRequest) (*model.ListDatabasesResponse, error)
- func (c *DdmClient) ListDatabasesInvoker(request *model.ListDatabasesRequest) *ListDatabasesInvoker
- func (c *DdmClient) ListEngines(request *model.ListEnginesRequest) (*model.ListEnginesResponse, error)
- func (c *DdmClient) ListEnginesInvoker(request *model.ListEnginesRequest) *ListEnginesInvoker
- func (c *DdmClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListFlavorsResponse, error)
- func (c *DdmClient) ListFlavorsInvoker(request *model.ListFlavorsRequest) *ListFlavorsInvoker
- func (c *DdmClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
- func (c *DdmClient) ListInstancesInvoker(request *model.ListInstancesRequest) *ListInstancesInvoker
- func (c *DdmClient) ListNodes(request *model.ListNodesRequest) (*model.ListNodesResponse, error)
- func (c *DdmClient) ListNodesInvoker(request *model.ListNodesRequest) *ListNodesInvoker
- func (c *DdmClient) ListReadWriteRatio(request *model.ListReadWriteRatioRequest) (*model.ListReadWriteRatioResponse, error)
- func (c *DdmClient) ListReadWriteRatioInvoker(request *model.ListReadWriteRatioRequest) *ListReadWriteRatioInvoker
- func (c *DdmClient) ListSlowLog(request *model.ListSlowLogRequest) (*model.ListSlowLogResponse, error)
- func (c *DdmClient) ListSlowLogInvoker(request *model.ListSlowLogRequest) *ListSlowLogInvoker
- func (c *DdmClient) ListUsers(request *model.ListUsersRequest) (*model.ListUsersResponse, error)
- func (c *DdmClient) ListUsersInvoker(request *model.ListUsersRequest) *ListUsersInvoker
- func (c *DdmClient) RebuildConfig(request *model.RebuildConfigRequest) (*model.RebuildConfigResponse, error)
- func (c *DdmClient) RebuildConfigInvoker(request *model.RebuildConfigRequest) *RebuildConfigInvoker
- func (c *DdmClient) ResetAdministrator(request *model.ResetAdministratorRequest) (*model.ResetAdministratorResponse, error)
- func (c *DdmClient) ResetAdministratorInvoker(request *model.ResetAdministratorRequest) *ResetAdministratorInvoker
- func (c *DdmClient) ResetUserPassword(request *model.ResetUserPasswordRequest) (*model.ResetUserPasswordResponse, error)
- func (c *DdmClient) ResetUserPasswordInvoker(request *model.ResetUserPasswordRequest) *ResetUserPasswordInvoker
- func (c *DdmClient) ResizeFlavor(request *model.ResizeFlavorRequest) (*model.ResizeFlavorResponse, error)
- func (c *DdmClient) ResizeFlavorInvoker(request *model.ResizeFlavorRequest) *ResizeFlavorInvoker
- func (c *DdmClient) RestartInstance(request *model.RestartInstanceRequest) (*model.RestartInstanceResponse, error)
- func (c *DdmClient) RestartInstanceInvoker(request *model.RestartInstanceRequest) *RestartInstanceInvoker
- func (c *DdmClient) ShowDatabase(request *model.ShowDatabaseRequest) (*model.ShowDatabaseResponse, error)
- func (c *DdmClient) ShowDatabaseInvoker(request *model.ShowDatabaseRequest) *ShowDatabaseInvoker
- func (c *DdmClient) ShowInstance(request *model.ShowInstanceRequest) (*model.ShowInstanceResponse, error)
- func (c *DdmClient) ShowInstanceInvoker(request *model.ShowInstanceRequest) *ShowInstanceInvoker
- func (c *DdmClient) ShowInstanceParam(request *model.ShowInstanceParamRequest) (*model.ShowInstanceParamResponse, error)
- func (c *DdmClient) ShowInstanceParamInvoker(request *model.ShowInstanceParamRequest) *ShowInstanceParamInvoker
- func (c *DdmClient) ShowNode(request *model.ShowNodeRequest) (*model.ShowNodeResponse, error)
- func (c *DdmClient) ShowNodeInvoker(request *model.ShowNodeRequest) *ShowNodeInvoker
- func (c *DdmClient) ShrinkInstanceNodes(request *model.ShrinkInstanceNodesRequest) (*model.ShrinkInstanceNodesResponse, error)
- func (c *DdmClient) ShrinkInstanceNodesInvoker(request *model.ShrinkInstanceNodesRequest) *ShrinkInstanceNodesInvoker
- func (c *DdmClient) UpdateDatabaseInfo(request *model.UpdateDatabaseInfoRequest) (*model.UpdateDatabaseInfoResponse, error)
- func (c *DdmClient) UpdateDatabaseInfoInvoker(request *model.UpdateDatabaseInfoRequest) *UpdateDatabaseInfoInvoker
- func (c *DdmClient) UpdateInstanceName(request *model.UpdateInstanceNameRequest) (*model.UpdateInstanceNameResponse, error)
- func (c *DdmClient) UpdateInstanceNameInvoker(request *model.UpdateInstanceNameRequest) *UpdateInstanceNameInvoker
- func (c *DdmClient) UpdateInstanceParam(request *model.UpdateInstanceParamRequest) (*model.UpdateInstanceParamResponse, error)
- func (c *DdmClient) UpdateInstanceParamInvoker(request *model.UpdateInstanceParamRequest) *UpdateInstanceParamInvoker
- func (c *DdmClient) UpdateInstanceSecurityGroup(request *model.UpdateInstanceSecurityGroupRequest) (*model.UpdateInstanceSecurityGroupResponse, error)
- func (c *DdmClient) UpdateInstanceSecurityGroupInvoker(request *model.UpdateInstanceSecurityGroupRequest) *UpdateInstanceSecurityGroupInvoker
- func (c *DdmClient) UpdateReadAndWriteStrategy(request *model.UpdateReadAndWriteStrategyRequest) (*model.UpdateReadAndWriteStrategyResponse, error)
- func (c *DdmClient) UpdateReadAndWriteStrategyInvoker(request *model.UpdateReadAndWriteStrategyRequest) *UpdateReadAndWriteStrategyInvoker
- func (c *DdmClient) UpdateUser(request *model.UpdateUserRequest) (*model.UpdateUserResponse, error)
- func (c *DdmClient) UpdateUserInvoker(request *model.UpdateUserRequest) *UpdateUserInvoker
- func (c *DdmClient) ValidateWeakPassword(request *model.ValidateWeakPasswordRequest) (*model.ValidateWeakPasswordResponse, error)
- func (c *DdmClient) ValidateWeakPasswordInvoker(request *model.ValidateWeakPasswordRequest) *ValidateWeakPasswordInvoker
- type DeleteDatabaseInvoker
- type DeleteInstanceInvoker
- type DeleteUserInvoker
- type ExpandInstanceNodesInvoker
- type ListAvailableRdsListInvoker
- type ListDatabasesInvoker
- type ListEnginesInvoker
- type ListFlavorsInvoker
- type ListInstancesInvoker
- type ListNodesInvoker
- type ListReadWriteRatioInvoker
- type ListSlowLogInvoker
- type ListUsersInvoker
- type RebuildConfigInvoker
- type ResetAdministratorInvoker
- type ResetUserPasswordInvoker
- type ResizeFlavorInvoker
- type RestartInstanceInvoker
- type ShowDatabaseInvoker
- type ShowInstanceInvoker
- type ShowInstanceParamInvoker
- type ShowNodeInvoker
- type ShrinkInstanceNodesInvoker
- type UpdateDatabaseInfoInvoker
- type UpdateInstanceNameInvoker
- type UpdateInstanceParamInvoker
- type UpdateInstanceSecurityGroupInvoker
- type UpdateReadAndWriteStrategyInvoker
- type UpdateUserInvoker
- type ValidateWeakPasswordInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DdmClientBuilder ¶
func DdmClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForCreateDatabase ¶
func GenReqDefForCreateDatabase() *def.HttpRequestDef
func GenReqDefForCreateInstance ¶
func GenReqDefForCreateInstance() *def.HttpRequestDef
func GenReqDefForCreateUsers ¶
func GenReqDefForCreateUsers() *def.HttpRequestDef
func GenReqDefForDeleteDatabase ¶
func GenReqDefForDeleteDatabase() *def.HttpRequestDef
func GenReqDefForDeleteInstance ¶
func GenReqDefForDeleteInstance() *def.HttpRequestDef
func GenReqDefForDeleteUser ¶
func GenReqDefForDeleteUser() *def.HttpRequestDef
func GenReqDefForExpandInstanceNodes ¶
func GenReqDefForExpandInstanceNodes() *def.HttpRequestDef
func GenReqDefForListAvailableRdsList ¶
func GenReqDefForListAvailableRdsList() *def.HttpRequestDef
func GenReqDefForListDatabases ¶
func GenReqDefForListDatabases() *def.HttpRequestDef
func GenReqDefForListEngines ¶
func GenReqDefForListEngines() *def.HttpRequestDef
func GenReqDefForListFlavors ¶
func GenReqDefForListFlavors() *def.HttpRequestDef
func GenReqDefForListInstances ¶
func GenReqDefForListInstances() *def.HttpRequestDef
func GenReqDefForListNodes ¶
func GenReqDefForListNodes() *def.HttpRequestDef
func GenReqDefForListReadWriteRatio ¶
func GenReqDefForListReadWriteRatio() *def.HttpRequestDef
func GenReqDefForListSlowLog ¶
func GenReqDefForListSlowLog() *def.HttpRequestDef
func GenReqDefForListUsers ¶
func GenReqDefForListUsers() *def.HttpRequestDef
func GenReqDefForRebuildConfig ¶
func GenReqDefForRebuildConfig() *def.HttpRequestDef
func GenReqDefForResetAdministrator ¶ added in v0.1.3
func GenReqDefForResetAdministrator() *def.HttpRequestDef
func GenReqDefForResetUserPassword ¶
func GenReqDefForResetUserPassword() *def.HttpRequestDef
func GenReqDefForResizeFlavor ¶ added in v0.1.3
func GenReqDefForResizeFlavor() *def.HttpRequestDef
func GenReqDefForRestartInstance ¶
func GenReqDefForRestartInstance() *def.HttpRequestDef
func GenReqDefForShowDatabase ¶
func GenReqDefForShowDatabase() *def.HttpRequestDef
func GenReqDefForShowInstance ¶
func GenReqDefForShowInstance() *def.HttpRequestDef
func GenReqDefForShowInstanceParam ¶
func GenReqDefForShowInstanceParam() *def.HttpRequestDef
func GenReqDefForShowNode ¶
func GenReqDefForShowNode() *def.HttpRequestDef
func GenReqDefForShrinkInstanceNodes ¶
func GenReqDefForShrinkInstanceNodes() *def.HttpRequestDef
func GenReqDefForUpdateDatabaseInfo ¶
func GenReqDefForUpdateDatabaseInfo() *def.HttpRequestDef
func GenReqDefForUpdateInstanceName ¶
func GenReqDefForUpdateInstanceName() *def.HttpRequestDef
func GenReqDefForUpdateInstanceParam ¶
func GenReqDefForUpdateInstanceParam() *def.HttpRequestDef
func GenReqDefForUpdateInstanceSecurityGroup ¶
func GenReqDefForUpdateInstanceSecurityGroup() *def.HttpRequestDef
func GenReqDefForUpdateReadAndWriteStrategy ¶
func GenReqDefForUpdateReadAndWriteStrategy() *def.HttpRequestDef
func GenReqDefForUpdateUser ¶
func GenReqDefForUpdateUser() *def.HttpRequestDef
func GenReqDefForValidateWeakPassword ¶ added in v0.1.3
func GenReqDefForValidateWeakPassword() *def.HttpRequestDef
Types ¶
type CreateDatabaseInvoker ¶ added in v0.0.90
type CreateDatabaseInvoker struct {
*invoker.BaseInvoker
}
func (*CreateDatabaseInvoker) Invoke ¶ added in v0.0.90
func (i *CreateDatabaseInvoker) Invoke() (*model.CreateDatabaseResponse, error)
type CreateInstanceInvoker ¶ added in v0.0.90
type CreateInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*CreateInstanceInvoker) Invoke ¶ added in v0.0.90
func (i *CreateInstanceInvoker) Invoke() (*model.CreateInstanceResponse, error)
type CreateUsersInvoker ¶ added in v0.0.90
type CreateUsersInvoker struct {
*invoker.BaseInvoker
}
func (*CreateUsersInvoker) Invoke ¶ added in v0.0.90
func (i *CreateUsersInvoker) Invoke() (*model.CreateUsersResponse, error)
type DdmClient ¶
type DdmClient struct {
HcClient *http_client.HcHttpClient
}
func NewDdmClient ¶
func NewDdmClient(hcClient *http_client.HcHttpClient) *DdmClient
func (*DdmClient) CreateDatabase ¶
func (c *DdmClient) CreateDatabase(request *model.CreateDatabaseRequest) (*model.CreateDatabaseResponse, error)
CreateDatabase 创建DDM逻辑库
创建DDM逻辑库。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) CreateDatabaseInvoker ¶ added in v0.0.90
func (c *DdmClient) CreateDatabaseInvoker(request *model.CreateDatabaseRequest) *CreateDatabaseInvoker
CreateDatabaseInvoker 创建DDM逻辑库
func (*DdmClient) CreateInstance ¶
func (c *DdmClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)
CreateInstance 购买DDM实例
创建一个DDM实例。
DDM运行于虚拟私有云。申请DDM实例前,需保证有可用的虚拟私有云,并且已配置好子网与安全组。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) CreateInstanceInvoker ¶ added in v0.0.90
func (c *DdmClient) CreateInstanceInvoker(request *model.CreateInstanceRequest) *CreateInstanceInvoker
CreateInstanceInvoker 购买DDM实例
func (*DdmClient) CreateUsers ¶
func (c *DdmClient) CreateUsers(request *model.CreateUsersRequest) (*model.CreateUsersResponse, error)
CreateUsers 创建DDM帐号
DDM帐号用于连接和管理逻辑库。一个DDM实例最多能创建100个DDM帐号,一个DDM帐号可以关联多个逻辑库。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) CreateUsersInvoker ¶ added in v0.0.90
func (c *DdmClient) CreateUsersInvoker(request *model.CreateUsersRequest) *CreateUsersInvoker
CreateUsersInvoker 创建DDM帐号
func (*DdmClient) DeleteDatabase ¶
func (c *DdmClient) DeleteDatabase(request *model.DeleteDatabaseRequest) (*model.DeleteDatabaseResponse, error)
DeleteDatabase 删除DDM逻辑库
删除指定的逻辑库,释放该逻辑库的所有资源。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) DeleteDatabaseInvoker ¶ added in v0.0.90
func (c *DdmClient) DeleteDatabaseInvoker(request *model.DeleteDatabaseRequest) *DeleteDatabaseInvoker
DeleteDatabaseInvoker 删除DDM逻辑库
func (*DdmClient) DeleteInstance ¶
func (c *DdmClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)
DeleteInstance 删除DDM实例
删除指定的DDM实例,释放该实例的所有资源。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) DeleteInstanceInvoker ¶ added in v0.0.90
func (c *DdmClient) DeleteInstanceInvoker(request *model.DeleteInstanceRequest) *DeleteInstanceInvoker
DeleteInstanceInvoker 删除DDM实例
func (*DdmClient) DeleteUser ¶
func (c *DdmClient) DeleteUser(request *model.DeleteUserRequest) (*model.DeleteUserResponse, error)
DeleteUser 删除DDM帐号
删除指定的DDM实例帐号,如果帐号关联了逻辑库,则对应的关联关系也会删除。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) DeleteUserInvoker ¶ added in v0.0.90
func (c *DdmClient) DeleteUserInvoker(request *model.DeleteUserRequest) *DeleteUserInvoker
DeleteUserInvoker 删除DDM帐号
func (*DdmClient) ExpandInstanceNodes ¶
func (c *DdmClient) ExpandInstanceNodes(request *model.ExpandInstanceNodesRequest) (*model.ExpandInstanceNodesResponse, error)
ExpandInstanceNodes DDM实例节点扩容
对指定的DDM实例的节点个数进行扩容,支持按需实例与包周期实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ExpandInstanceNodesInvoker ¶ added in v0.0.90
func (c *DdmClient) ExpandInstanceNodesInvoker(request *model.ExpandInstanceNodesRequest) *ExpandInstanceNodesInvoker
ExpandInstanceNodesInvoker DDM实例节点扩容
func (*DdmClient) ListAvailableRdsList ¶
func (c *DdmClient) ListAvailableRdsList(request *model.ListAvailableRdsListRequest) (*model.ListAvailableRdsListResponse, error)
ListAvailableRdsList 查询创建逻辑库可选取的数据库实例列表
查询创建逻辑库可选取的数据库实例列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ListAvailableRdsListInvoker ¶ added in v0.0.90
func (c *DdmClient) ListAvailableRdsListInvoker(request *model.ListAvailableRdsListRequest) *ListAvailableRdsListInvoker
ListAvailableRdsListInvoker 查询创建逻辑库可选取的数据库实例列表
func (*DdmClient) ListDatabases ¶
func (c *DdmClient) ListDatabases(request *model.ListDatabasesRequest) (*model.ListDatabasesResponse, error)
ListDatabases 查询DDM逻辑库列表
查询DDM逻辑库列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ListDatabasesInvoker ¶ added in v0.0.90
func (c *DdmClient) ListDatabasesInvoker(request *model.ListDatabasesRequest) *ListDatabasesInvoker
ListDatabasesInvoker 查询DDM逻辑库列表
func (*DdmClient) ListEngines ¶
func (c *DdmClient) ListEngines(request *model.ListEnginesRequest) (*model.ListEnginesResponse, error)
ListEngines 查询DDM引擎信息
查询DDM引擎信息详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ListEnginesInvoker ¶ added in v0.0.90
func (c *DdmClient) ListEnginesInvoker(request *model.ListEnginesRequest) *ListEnginesInvoker
ListEnginesInvoker 查询DDM引擎信息
func (*DdmClient) ListFlavors ¶
func (c *DdmClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListFlavorsResponse, error)
ListFlavors 查询DDM可用区规格信息
查询DDM可用区规格信息详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ListFlavorsInvoker ¶ added in v0.0.90
func (c *DdmClient) ListFlavorsInvoker(request *model.ListFlavorsRequest) *ListFlavorsInvoker
ListFlavorsInvoker 查询DDM可用区规格信息
func (*DdmClient) ListInstances ¶
func (c *DdmClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
ListInstances 查询DDM实例列表
查询DDM实例列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ListInstancesInvoker ¶ added in v0.0.90
func (c *DdmClient) ListInstancesInvoker(request *model.ListInstancesRequest) *ListInstancesInvoker
ListInstancesInvoker 查询DDM实例列表
func (*DdmClient) ListNodes ¶
func (c *DdmClient) ListNodes(request *model.ListNodesRequest) (*model.ListNodesResponse, error)
ListNodes 查询DDM实例节点列表
查询DDM实例节点列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ListNodesInvoker ¶ added in v0.0.90
func (c *DdmClient) ListNodesInvoker(request *model.ListNodesRequest) *ListNodesInvoker
ListNodesInvoker 查询DDM实例节点列表
func (*DdmClient) ListReadWriteRatio ¶
func (c *DdmClient) ListReadWriteRatio(request *model.ListReadWriteRatioRequest) (*model.ListReadWriteRatioResponse, error)
ListReadWriteRatio 读写比例监控
查询指定时间段内在DDM实例的读写次数。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ListReadWriteRatioInvoker ¶ added in v0.0.90
func (c *DdmClient) ListReadWriteRatioInvoker(request *model.ListReadWriteRatioRequest) *ListReadWriteRatioInvoker
ListReadWriteRatioInvoker 读写比例监控
func (*DdmClient) ListSlowLog ¶
func (c *DdmClient) ListSlowLog(request *model.ListSlowLogRequest) (*model.ListSlowLogResponse, error)
ListSlowLog 慢日志监控
查询指定时间段内在DDM实例上执行过的慢sql相关信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ListSlowLogInvoker ¶ added in v0.0.90
func (c *DdmClient) ListSlowLogInvoker(request *model.ListSlowLogRequest) *ListSlowLogInvoker
ListSlowLogInvoker 慢日志监控
func (*DdmClient) ListUsers ¶
func (c *DdmClient) ListUsers(request *model.ListUsersRequest) (*model.ListUsersResponse, error)
ListUsers 查询DDM帐号列表
查询DDM帐号列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ListUsersInvoker ¶ added in v0.0.90
func (c *DdmClient) ListUsersInvoker(request *model.ListUsersRequest) *ListUsersInvoker
ListUsersInvoker 查询DDM帐号列表
func (*DdmClient) RebuildConfig ¶
func (c *DdmClient) RebuildConfig(request *model.RebuildConfigRequest) (*model.RebuildConfigResponse, error)
RebuildConfig DDM表数据重载
DDM实例跨region容灾场景下,针对目标DDM实例实现表数据reload,使数据同步。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) RebuildConfigInvoker ¶ added in v0.0.90
func (c *DdmClient) RebuildConfigInvoker(request *model.RebuildConfigRequest) *RebuildConfigInvoker
RebuildConfigInvoker DDM表数据重载
func (*DdmClient) ResetAdministrator ¶ added in v0.1.3
func (c *DdmClient) ResetAdministrator(request *model.ResetAdministratorRequest) (*model.ResetAdministratorResponse, error)
ResetAdministrator DDM管理员账号密码管理
首次调用时新建DDM管理员帐号并设置密码。后续调用时仅更新管理员密码。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ResetAdministratorInvoker ¶ added in v0.1.3
func (c *DdmClient) ResetAdministratorInvoker(request *model.ResetAdministratorRequest) *ResetAdministratorInvoker
ResetAdministratorInvoker DDM管理员账号密码管理
func (*DdmClient) ResetUserPassword ¶
func (c *DdmClient) ResetUserPassword(request *model.ResetUserPasswordRequest) (*model.ResetUserPasswordResponse, error)
ResetUserPassword 重置DDM账号密码
重置现有DDM帐号的密码。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ResetUserPasswordInvoker ¶ added in v0.0.90
func (c *DdmClient) ResetUserPasswordInvoker(request *model.ResetUserPasswordRequest) *ResetUserPasswordInvoker
ResetUserPasswordInvoker 重置DDM账号密码
func (*DdmClient) ResizeFlavor ¶ added in v0.1.3
func (c *DdmClient) ResizeFlavor(request *model.ResizeFlavorRequest) (*model.ResizeFlavorResponse, error)
ResizeFlavor 变更DDM实例规格
变更DDM实例规格。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ResizeFlavorInvoker ¶ added in v0.1.3
func (c *DdmClient) ResizeFlavorInvoker(request *model.ResizeFlavorRequest) *ResizeFlavorInvoker
ResizeFlavorInvoker 变更DDM实例规格
func (*DdmClient) RestartInstance ¶
func (c *DdmClient) RestartInstance(request *model.RestartInstanceRequest) (*model.RestartInstanceResponse, error)
RestartInstance 重启DDM实例
重启指定的DDM实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) RestartInstanceInvoker ¶ added in v0.0.90
func (c *DdmClient) RestartInstanceInvoker(request *model.RestartInstanceRequest) *RestartInstanceInvoker
RestartInstanceInvoker 重启DDM实例
func (*DdmClient) ShowDatabase ¶
func (c *DdmClient) ShowDatabase(request *model.ShowDatabaseRequest) (*model.ShowDatabaseResponse, error)
ShowDatabase 查询DDM逻辑库详细信息
查询指定逻辑库的详细信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ShowDatabaseInvoker ¶ added in v0.0.90
func (c *DdmClient) ShowDatabaseInvoker(request *model.ShowDatabaseRequest) *ShowDatabaseInvoker
ShowDatabaseInvoker 查询DDM逻辑库详细信息
func (*DdmClient) ShowInstance ¶
func (c *DdmClient) ShowInstance(request *model.ShowInstanceRequest) (*model.ShowInstanceResponse, error)
ShowInstance 查询DDM实例详情
查询指定DDM实例的详细信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ShowInstanceInvoker ¶ added in v0.0.90
func (c *DdmClient) ShowInstanceInvoker(request *model.ShowInstanceRequest) *ShowInstanceInvoker
ShowInstanceInvoker 查询DDM实例详情
func (*DdmClient) ShowInstanceParam ¶
func (c *DdmClient) ShowInstanceParam(request *model.ShowInstanceParamRequest) (*model.ShowInstanceParamResponse, error)
ShowInstanceParam 查询DDM指定实例的参数详情
查询DDM指定实例的参数详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ShowInstanceParamInvoker ¶ added in v0.0.90
func (c *DdmClient) ShowInstanceParamInvoker(request *model.ShowInstanceParamRequest) *ShowInstanceParamInvoker
ShowInstanceParamInvoker 查询DDM指定实例的参数详情
func (*DdmClient) ShowNode ¶
func (c *DdmClient) ShowNode(request *model.ShowNodeRequest) (*model.ShowNodeResponse, error)
ShowNode 查询DDM实例节点详情
查询DDM实例节点详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ShowNodeInvoker ¶ added in v0.0.90
func (c *DdmClient) ShowNodeInvoker(request *model.ShowNodeRequest) *ShowNodeInvoker
ShowNodeInvoker 查询DDM实例节点详情
func (*DdmClient) ShrinkInstanceNodes ¶
func (c *DdmClient) ShrinkInstanceNodes(request *model.ShrinkInstanceNodesRequest) (*model.ShrinkInstanceNodesResponse, error)
ShrinkInstanceNodes DDM实例节点缩容
对指定的DDM实例的节点个数进行缩容。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ShrinkInstanceNodesInvoker ¶ added in v0.0.90
func (c *DdmClient) ShrinkInstanceNodesInvoker(request *model.ShrinkInstanceNodesRequest) *ShrinkInstanceNodesInvoker
ShrinkInstanceNodesInvoker DDM实例节点缩容
func (*DdmClient) UpdateDatabaseInfo ¶
func (c *DdmClient) UpdateDatabaseInfo(request *model.UpdateDatabaseInfoRequest) (*model.UpdateDatabaseInfoResponse, error)
UpdateDatabaseInfo 同步DN信息
同步当前DDM实例已关联的所有DN实例配置信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) UpdateDatabaseInfoInvoker ¶ added in v0.0.90
func (c *DdmClient) UpdateDatabaseInfoInvoker(request *model.UpdateDatabaseInfoRequest) *UpdateDatabaseInfoInvoker
UpdateDatabaseInfoInvoker 同步DN信息
func (*DdmClient) UpdateInstanceName ¶
func (c *DdmClient) UpdateInstanceName(request *model.UpdateInstanceNameRequest) (*model.UpdateInstanceNameResponse, error)
UpdateInstanceName 修改DDM实例名称
修改DDM实例名称。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) UpdateInstanceNameInvoker ¶ added in v0.0.90
func (c *DdmClient) UpdateInstanceNameInvoker(request *model.UpdateInstanceNameRequest) *UpdateInstanceNameInvoker
UpdateInstanceNameInvoker 修改DDM实例名称
func (*DdmClient) UpdateInstanceParam ¶
func (c *DdmClient) UpdateInstanceParam(request *model.UpdateInstanceParamRequest) (*model.UpdateInstanceParamResponse, error)
UpdateInstanceParam 修改DDM实例参数
修改DDM实例参数。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) UpdateInstanceParamInvoker ¶ added in v0.0.90
func (c *DdmClient) UpdateInstanceParamInvoker(request *model.UpdateInstanceParamRequest) *UpdateInstanceParamInvoker
UpdateInstanceParamInvoker 修改DDM实例参数
func (*DdmClient) UpdateInstanceSecurityGroup ¶
func (c *DdmClient) UpdateInstanceSecurityGroup(request *model.UpdateInstanceSecurityGroupRequest) (*model.UpdateInstanceSecurityGroupResponse, error)
UpdateInstanceSecurityGroup 修改DDM实例安全组
修改DDM实例安全组。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) UpdateInstanceSecurityGroupInvoker ¶ added in v0.0.90
func (c *DdmClient) UpdateInstanceSecurityGroupInvoker(request *model.UpdateInstanceSecurityGroupRequest) *UpdateInstanceSecurityGroupInvoker
UpdateInstanceSecurityGroupInvoker 修改DDM实例安全组
func (*DdmClient) UpdateReadAndWriteStrategy ¶
func (c *DdmClient) UpdateReadAndWriteStrategy(request *model.UpdateReadAndWriteStrategyRequest) (*model.UpdateReadAndWriteStrategyResponse, error)
UpdateReadAndWriteStrategy 修改DDM已关联的数据库实例的读策略
修改DDM已关联的数据库实例的读策略。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) UpdateReadAndWriteStrategyInvoker ¶ added in v0.0.90
func (c *DdmClient) UpdateReadAndWriteStrategyInvoker(request *model.UpdateReadAndWriteStrategyRequest) *UpdateReadAndWriteStrategyInvoker
UpdateReadAndWriteStrategyInvoker 修改DDM已关联的数据库实例的读策略
func (*DdmClient) UpdateUser ¶
func (c *DdmClient) UpdateUser(request *model.UpdateUserRequest) (*model.UpdateUserResponse, error)
UpdateUser 修改DDM帐号
修改现有DDM帐号的权限或者与逻辑库的管理关系。
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) UpdateUserInvoker ¶ added in v0.0.90
func (c *DdmClient) UpdateUserInvoker(request *model.UpdateUserRequest) *UpdateUserInvoker
UpdateUserInvoker 修改DDM帐号
func (*DdmClient) ValidateWeakPassword ¶ added in v0.1.3
func (c *DdmClient) ValidateWeakPassword(request *model.ValidateWeakPasswordRequest) (*model.ValidateWeakPasswordResponse, error)
ValidateWeakPassword 弱密码校验
弱密码校验
Please refer to HUAWEI cloud API Explorer for details.
func (*DdmClient) ValidateWeakPasswordInvoker ¶ added in v0.1.3
func (c *DdmClient) ValidateWeakPasswordInvoker(request *model.ValidateWeakPasswordRequest) *ValidateWeakPasswordInvoker
ValidateWeakPasswordInvoker 弱密码校验
type DeleteDatabaseInvoker ¶ added in v0.0.90
type DeleteDatabaseInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteDatabaseInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteDatabaseInvoker) Invoke() (*model.DeleteDatabaseResponse, error)
type DeleteInstanceInvoker ¶ added in v0.0.90
type DeleteInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteInstanceInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteInstanceInvoker) Invoke() (*model.DeleteInstanceResponse, error)
type DeleteUserInvoker ¶ added in v0.0.90
type DeleteUserInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteUserInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteUserInvoker) Invoke() (*model.DeleteUserResponse, error)
type ExpandInstanceNodesInvoker ¶ added in v0.0.90
type ExpandInstanceNodesInvoker struct {
*invoker.BaseInvoker
}
func (*ExpandInstanceNodesInvoker) Invoke ¶ added in v0.0.90
func (i *ExpandInstanceNodesInvoker) Invoke() (*model.ExpandInstanceNodesResponse, error)
type ListAvailableRdsListInvoker ¶ added in v0.0.90
type ListAvailableRdsListInvoker struct {
*invoker.BaseInvoker
}
func (*ListAvailableRdsListInvoker) Invoke ¶ added in v0.0.90
func (i *ListAvailableRdsListInvoker) Invoke() (*model.ListAvailableRdsListResponse, error)
type ListDatabasesInvoker ¶ added in v0.0.90
type ListDatabasesInvoker struct {
*invoker.BaseInvoker
}
func (*ListDatabasesInvoker) Invoke ¶ added in v0.0.90
func (i *ListDatabasesInvoker) Invoke() (*model.ListDatabasesResponse, error)
type ListEnginesInvoker ¶ added in v0.0.90
type ListEnginesInvoker struct {
*invoker.BaseInvoker
}
func (*ListEnginesInvoker) Invoke ¶ added in v0.0.90
func (i *ListEnginesInvoker) Invoke() (*model.ListEnginesResponse, error)
type ListFlavorsInvoker ¶ added in v0.0.90
type ListFlavorsInvoker struct {
*invoker.BaseInvoker
}
func (*ListFlavorsInvoker) Invoke ¶ added in v0.0.90
func (i *ListFlavorsInvoker) Invoke() (*model.ListFlavorsResponse, error)
type ListInstancesInvoker ¶ added in v0.0.90
type ListInstancesInvoker struct {
*invoker.BaseInvoker
}
func (*ListInstancesInvoker) Invoke ¶ added in v0.0.90
func (i *ListInstancesInvoker) Invoke() (*model.ListInstancesResponse, error)
type ListNodesInvoker ¶ added in v0.0.90
type ListNodesInvoker struct {
*invoker.BaseInvoker
}
func (*ListNodesInvoker) Invoke ¶ added in v0.0.90
func (i *ListNodesInvoker) Invoke() (*model.ListNodesResponse, error)
type ListReadWriteRatioInvoker ¶ added in v0.0.90
type ListReadWriteRatioInvoker struct {
*invoker.BaseInvoker
}
func (*ListReadWriteRatioInvoker) Invoke ¶ added in v0.0.90
func (i *ListReadWriteRatioInvoker) Invoke() (*model.ListReadWriteRatioResponse, error)
type ListSlowLogInvoker ¶ added in v0.0.90
type ListSlowLogInvoker struct {
*invoker.BaseInvoker
}
func (*ListSlowLogInvoker) Invoke ¶ added in v0.0.90
func (i *ListSlowLogInvoker) Invoke() (*model.ListSlowLogResponse, error)
type ListUsersInvoker ¶ added in v0.0.90
type ListUsersInvoker struct {
*invoker.BaseInvoker
}
func (*ListUsersInvoker) Invoke ¶ added in v0.0.90
func (i *ListUsersInvoker) Invoke() (*model.ListUsersResponse, error)
type RebuildConfigInvoker ¶ added in v0.0.90
type RebuildConfigInvoker struct {
*invoker.BaseInvoker
}
func (*RebuildConfigInvoker) Invoke ¶ added in v0.0.90
func (i *RebuildConfigInvoker) Invoke() (*model.RebuildConfigResponse, error)
type ResetAdministratorInvoker ¶ added in v0.1.3
type ResetAdministratorInvoker struct {
*invoker.BaseInvoker
}
func (*ResetAdministratorInvoker) Invoke ¶ added in v0.1.3
func (i *ResetAdministratorInvoker) Invoke() (*model.ResetAdministratorResponse, error)
type ResetUserPasswordInvoker ¶ added in v0.0.90
type ResetUserPasswordInvoker struct {
*invoker.BaseInvoker
}
func (*ResetUserPasswordInvoker) Invoke ¶ added in v0.0.90
func (i *ResetUserPasswordInvoker) Invoke() (*model.ResetUserPasswordResponse, error)
type ResizeFlavorInvoker ¶ added in v0.1.3
type ResizeFlavorInvoker struct {
*invoker.BaseInvoker
}
func (*ResizeFlavorInvoker) Invoke ¶ added in v0.1.3
func (i *ResizeFlavorInvoker) Invoke() (*model.ResizeFlavorResponse, error)
type RestartInstanceInvoker ¶ added in v0.0.90
type RestartInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*RestartInstanceInvoker) Invoke ¶ added in v0.0.90
func (i *RestartInstanceInvoker) Invoke() (*model.RestartInstanceResponse, error)
type ShowDatabaseInvoker ¶ added in v0.0.90
type ShowDatabaseInvoker struct {
*invoker.BaseInvoker
}
func (*ShowDatabaseInvoker) Invoke ¶ added in v0.0.90
func (i *ShowDatabaseInvoker) Invoke() (*model.ShowDatabaseResponse, error)
type ShowInstanceInvoker ¶ added in v0.0.90
type ShowInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*ShowInstanceInvoker) Invoke ¶ added in v0.0.90
func (i *ShowInstanceInvoker) Invoke() (*model.ShowInstanceResponse, error)
type ShowInstanceParamInvoker ¶ added in v0.0.90
type ShowInstanceParamInvoker struct {
*invoker.BaseInvoker
}
func (*ShowInstanceParamInvoker) Invoke ¶ added in v0.0.90
func (i *ShowInstanceParamInvoker) Invoke() (*model.ShowInstanceParamResponse, error)
type ShowNodeInvoker ¶ added in v0.0.90
type ShowNodeInvoker struct {
*invoker.BaseInvoker
}
func (*ShowNodeInvoker) Invoke ¶ added in v0.0.90
func (i *ShowNodeInvoker) Invoke() (*model.ShowNodeResponse, error)
type ShrinkInstanceNodesInvoker ¶ added in v0.0.90
type ShrinkInstanceNodesInvoker struct {
*invoker.BaseInvoker
}
func (*ShrinkInstanceNodesInvoker) Invoke ¶ added in v0.0.90
func (i *ShrinkInstanceNodesInvoker) Invoke() (*model.ShrinkInstanceNodesResponse, error)
type UpdateDatabaseInfoInvoker ¶ added in v0.0.90
type UpdateDatabaseInfoInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateDatabaseInfoInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateDatabaseInfoInvoker) Invoke() (*model.UpdateDatabaseInfoResponse, error)
type UpdateInstanceNameInvoker ¶ added in v0.0.90
type UpdateInstanceNameInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateInstanceNameInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateInstanceNameInvoker) Invoke() (*model.UpdateInstanceNameResponse, error)
type UpdateInstanceParamInvoker ¶ added in v0.0.90
type UpdateInstanceParamInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateInstanceParamInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateInstanceParamInvoker) Invoke() (*model.UpdateInstanceParamResponse, error)
type UpdateInstanceSecurityGroupInvoker ¶ added in v0.0.90
type UpdateInstanceSecurityGroupInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateInstanceSecurityGroupInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateInstanceSecurityGroupInvoker) Invoke() (*model.UpdateInstanceSecurityGroupResponse, error)
type UpdateReadAndWriteStrategyInvoker ¶ added in v0.0.90
type UpdateReadAndWriteStrategyInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateReadAndWriteStrategyInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateReadAndWriteStrategyInvoker) Invoke() (*model.UpdateReadAndWriteStrategyResponse, error)
type UpdateUserInvoker ¶ added in v0.0.90
type UpdateUserInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateUserInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateUserInvoker) Invoke() (*model.UpdateUserResponse, error)
type ValidateWeakPasswordInvoker ¶ added in v0.1.3
type ValidateWeakPasswordInvoker struct {
*invoker.BaseInvoker
}
func (*ValidateWeakPasswordInvoker) Invoke ¶ added in v0.1.3
func (i *ValidateWeakPasswordInvoker) Invoke() (*model.ValidateWeakPasswordResponse, error)