Documentation ¶
Index ¶
- type MongodbClient
- func (c *MongodbClient) BackupDownloadURL(request *mongodb.BackupDownloadURLRequest) (*mongodb.BackupDownloadURLResponse, error)
- func (c *MongodbClient) CreateBackup(request *mongodb.CreateBackupRequest) (*mongodb.CreateBackupResponse, error)
- func (c *MongodbClient) CreateInstance(request *mongodb.CreateInstanceRequest) (*mongodb.CreateInstanceResponse, error)
- func (c *MongodbClient) DeleteBackup(request *mongodb.DeleteBackupRequest) (*mongodb.DeleteBackupResponse, error)
- func (c *MongodbClient) DeleteInstance(request *mongodb.DeleteInstanceRequest) (*mongodb.DeleteInstanceResponse, error)
- func (c *MongodbClient) DescribeBackupPolicy(request *mongodb.DescribeBackupPolicyRequest) (*mongodb.DescribeBackupPolicyResponse, error)
- func (c *MongodbClient) DescribeBackups(request *mongodb.DescribeBackupsRequest) (*mongodb.DescribeBackupsResponse, error)
- func (c *MongodbClient) DescribeInstances(request *mongodb.DescribeInstancesRequest) (*mongodb.DescribeInstancesResponse, error)
- func (c *MongodbClient) ModifyBackupPolicy(request *mongodb.ModifyBackupPolicyRequest) (*mongodb.ModifyBackupPolicyResponse, error)
- func (c *MongodbClient) ModifyInstanceName(request *mongodb.ModifyInstanceNameRequest) (*mongodb.ModifyInstanceNameResponse, error)
- func (c *MongodbClient) ModifyInstanceSpec(request *mongodb.ModifyInstanceSpecRequest) (*mongodb.ModifyInstanceSpecResponse, error)
- func (c *MongodbClient) ResetPassword(request *mongodb.ResetPasswordRequest) (*mongodb.ResetPasswordResponse, error)
- func (c *MongodbClient) RestoreInstance(request *mongodb.RestoreInstanceRequest) (*mongodb.RestoreInstanceResponse, error)
- func (c *MongodbClient) SetConfig(config *core.Config)
- func (c *MongodbClient) SetLogger(logger core.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongodbClient ¶
type MongodbClient struct {
core.JDCloudClient
}
func NewMongodbClient ¶
func NewMongodbClient(credential *core.Credential) *MongodbClient
func (*MongodbClient) BackupDownloadURL ¶
func (c *MongodbClient) BackupDownloadURL(request *mongodb.BackupDownloadURLRequest) (*mongodb.BackupDownloadURLResponse, error)
获取备份下载链接
func (*MongodbClient) CreateBackup ¶
func (c *MongodbClient) CreateBackup(request *mongodb.CreateBackupRequest) (*mongodb.CreateBackupResponse, error)
创建备份
func (*MongodbClient) CreateInstance ¶
func (c *MongodbClient) CreateInstance(request *mongodb.CreateInstanceRequest) (*mongodb.CreateInstanceResponse, error)
创建实例
func (*MongodbClient) DeleteBackup ¶
func (c *MongodbClient) DeleteBackup(request *mongodb.DeleteBackupRequest) (*mongodb.DeleteBackupResponse, error)
删除备份
func (*MongodbClient) DeleteInstance ¶
func (c *MongodbClient) DeleteInstance(request *mongodb.DeleteInstanceRequest) (*mongodb.DeleteInstanceResponse, error)
删除实例
func (*MongodbClient) DescribeBackupPolicy ¶
func (c *MongodbClient) DescribeBackupPolicy(request *mongodb.DescribeBackupPolicyRequest) (*mongodb.DescribeBackupPolicyResponse, error)
获取备份策略
func (*MongodbClient) DescribeBackups ¶
func (c *MongodbClient) DescribeBackups(request *mongodb.DescribeBackupsRequest) (*mongodb.DescribeBackupsResponse, error)
查看备份
func (*MongodbClient) DescribeInstances ¶
func (c *MongodbClient) DescribeInstances(request *mongodb.DescribeInstancesRequest) (*mongodb.DescribeInstancesResponse, error)
查询实例信息
func (*MongodbClient) ModifyBackupPolicy ¶
func (c *MongodbClient) ModifyBackupPolicy(request *mongodb.ModifyBackupPolicyRequest) (*mongodb.ModifyBackupPolicyResponse, error)
修改备份策略
func (*MongodbClient) ModifyInstanceName ¶
func (c *MongodbClient) ModifyInstanceName(request *mongodb.ModifyInstanceNameRequest) (*mongodb.ModifyInstanceNameResponse, error)
修改实例名称
func (*MongodbClient) ModifyInstanceSpec ¶
func (c *MongodbClient) ModifyInstanceSpec(request *mongodb.ModifyInstanceSpecRequest) (*mongodb.ModifyInstanceSpecResponse, error)
变更实例规格
func (*MongodbClient) ResetPassword ¶
func (c *MongodbClient) ResetPassword(request *mongodb.ResetPasswordRequest) (*mongodb.ResetPasswordResponse, error)
重置密码
func (*MongodbClient) RestoreInstance ¶
func (c *MongodbClient) RestoreInstance(request *mongodb.RestoreInstanceRequest) (*mongodb.RestoreInstanceResponse, error)
数据恢复
func (*MongodbClient) SetConfig ¶
func (c *MongodbClient) SetConfig(config *core.Config)
func (*MongodbClient) SetLogger ¶
func (c *MongodbClient) SetLogger(logger core.Logger)
Click to show internal directories.
Click to hide internal directories.