Documentation ¶
Index ¶
- func GaussDBforopenGaussClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateInstance() *def.HttpRequestDef
- func GenReqDefForDeleteInstance() *def.HttpRequestDef
- func GenReqDefForListInstances() *def.HttpRequestDef
- func GenReqDefForResetPwd() *def.HttpRequestDef
- func GenReqDefForRunInstanceAction() *def.HttpRequestDef
- func GenReqDefForSetBackupPolicy() *def.HttpRequestDef
- func GenReqDefForUpdateInstanceConfiguration() *def.HttpRequestDef
- func GenReqDefForUpdateInstanceName() *def.HttpRequestDef
- type GaussDBforopenGaussClient
- func (c *GaussDBforopenGaussClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)
- func (c *GaussDBforopenGaussClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)
- func (c *GaussDBforopenGaussClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
- func (c *GaussDBforopenGaussClient) ResetPwd(request *model.ResetPwdRequest) (*model.ResetPwdResponse, error)
- func (c *GaussDBforopenGaussClient) RunInstanceAction(request *model.RunInstanceActionRequest) (*model.RunInstanceActionResponse, error)
- func (c *GaussDBforopenGaussClient) SetBackupPolicy(request *model.SetBackupPolicyRequest) (*model.SetBackupPolicyResponse, error)
- func (c *GaussDBforopenGaussClient) UpdateInstanceConfiguration(request *model.UpdateInstanceConfigurationRequest) (*model.UpdateInstanceConfigurationResponse, error)
- func (c *GaussDBforopenGaussClient) UpdateInstanceName(request *model.UpdateInstanceNameRequest) (*model.UpdateInstanceNameResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GaussDBforopenGaussClientBuilder ¶
func GaussDBforopenGaussClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForCreateInstance ¶
func GenReqDefForCreateInstance() *def.HttpRequestDef
func GenReqDefForDeleteInstance ¶
func GenReqDefForDeleteInstance() *def.HttpRequestDef
func GenReqDefForListInstances ¶
func GenReqDefForListInstances() *def.HttpRequestDef
func GenReqDefForResetPwd ¶
func GenReqDefForResetPwd() *def.HttpRequestDef
func GenReqDefForRunInstanceAction ¶
func GenReqDefForRunInstanceAction() *def.HttpRequestDef
func GenReqDefForSetBackupPolicy ¶
func GenReqDefForSetBackupPolicy() *def.HttpRequestDef
func GenReqDefForUpdateInstanceConfiguration ¶
func GenReqDefForUpdateInstanceConfiguration() *def.HttpRequestDef
func GenReqDefForUpdateInstanceName ¶
func GenReqDefForUpdateInstanceName() *def.HttpRequestDef
Types ¶
type GaussDBforopenGaussClient ¶
type GaussDBforopenGaussClient struct {
HcClient *http_client.HcHttpClient
}
func NewGaussDBforopenGaussClient ¶
func NewGaussDBforopenGaussClient(hcClient *http_client.HcHttpClient) *GaussDBforopenGaussClient
func (*GaussDBforopenGaussClient) CreateInstance ¶
func (c *GaussDBforopenGaussClient) CreateInstance(request *model.CreateInstanceRequest) (*model.CreateInstanceResponse, error)
创建数据库实例
func (*GaussDBforopenGaussClient) DeleteInstance ¶
func (c *GaussDBforopenGaussClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)
删除数据库实例。
func (*GaussDBforopenGaussClient) ListInstances ¶
func (c *GaussDBforopenGaussClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
查询数据库实例列表/查询实例详情
func (*GaussDBforopenGaussClient) ResetPwd ¶
func (c *GaussDBforopenGaussClient) ResetPwd(request *model.ResetPwdRequest) (*model.ResetPwdResponse, error)
重置数据库密码。
func (*GaussDBforopenGaussClient) RunInstanceAction ¶
func (c *GaussDBforopenGaussClient) RunInstanceAction(request *model.RunInstanceActionRequest) (*model.RunInstanceActionResponse, error)
CN横向扩容/DN分片扩容/磁盘扩容
func (*GaussDBforopenGaussClient) SetBackupPolicy ¶
func (c *GaussDBforopenGaussClient) SetBackupPolicy(request *model.SetBackupPolicyRequest) (*model.SetBackupPolicyResponse, error)
设置自动备份策略。
func (*GaussDBforopenGaussClient) UpdateInstanceConfiguration ¶
func (c *GaussDBforopenGaussClient) UpdateInstanceConfiguration(request *model.UpdateInstanceConfigurationRequest) (*model.UpdateInstanceConfigurationResponse, error)
修改指定实例的参数。
func (*GaussDBforopenGaussClient) UpdateInstanceName ¶
func (c *GaussDBforopenGaussClient) UpdateInstanceName(request *model.UpdateInstanceNameRequest) (*model.UpdateInstanceNameResponse, error)
修改实例名称。
Click to show internal directories.
Click to hide internal directories.