Documentation ¶
Index ¶
- func GaussDBClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForChangeGaussMySqlInstanceSpecification() *def.HttpRequestDef
- func GenReqDefForCreateGaussMySqlBackup() *def.HttpRequestDef
- func GenReqDefForCreateGaussMySqlInstance() *def.HttpRequestDef
- func GenReqDefForCreateGaussMySqlProxy() *def.HttpRequestDef
- func GenReqDefForCreateGaussMySqlReadonlyNode() *def.HttpRequestDef
- func GenReqDefForDeleteGaussMySqlInstance() *def.HttpRequestDef
- func GenReqDefForDeleteGaussMySqlProxy() *def.HttpRequestDef
- func GenReqDefForDeleteGaussMySqlReadonlyNode() *def.HttpRequestDef
- func GenReqDefForExpandGaussMySqlInstanceVolume() *def.HttpRequestDef
- func GenReqDefForExpandGaussMySqlProxy() *def.HttpRequestDef
- func GenReqDefForListGaussMySqlConfigurations() *def.HttpRequestDef
- func GenReqDefForListGaussMySqlDedicatedResources() *def.HttpRequestDef
- func GenReqDefForListGaussMySqlErrorLog() *def.HttpRequestDef
- func GenReqDefForListGaussMySqlInstances() *def.HttpRequestDef
- func GenReqDefForListGaussMySqlSlowLog() *def.HttpRequestDef
- func GenReqDefForResetGaussMySqlPassword() *def.HttpRequestDef
- func GenReqDefForSetGaussMySqlQuotas() *def.HttpRequestDef
- func GenReqDefForShowGaussMySqlBackupList() *def.HttpRequestDef
- func GenReqDefForShowGaussMySqlBackupPolicy() *def.HttpRequestDef
- func GenReqDefForShowGaussMySqlEngineVersion() *def.HttpRequestDef
- func GenReqDefForShowGaussMySqlFlavors() *def.HttpRequestDef
- func GenReqDefForShowGaussMySqlInstanceInfo() *def.HttpRequestDef
- func GenReqDefForShowGaussMySqlJobInfo() *def.HttpRequestDef
- func GenReqDefForShowGaussMySqlProjectQuotas() *def.HttpRequestDef
- func GenReqDefForShowGaussMySqlProxy() *def.HttpRequestDef
- func GenReqDefForShowGaussMySqlProxyFlavors() *def.HttpRequestDef
- func GenReqDefForShowGaussMySqlQuotas() *def.HttpRequestDef
- func GenReqDefForUpdateGaussMySqlBackupPolicy() *def.HttpRequestDef
- func GenReqDefForUpdateGaussMySqlInstanceName() *def.HttpRequestDef
- func GenReqDefForUpdateGaussMySqlQuotas() *def.HttpRequestDef
- type GaussDBClient
- func (c *GaussDBClient) ChangeGaussMySqlInstanceSpecification(request *model.ChangeGaussMySqlInstanceSpecificationRequest) (*model.ChangeGaussMySqlInstanceSpecificationResponse, error)
- func (c *GaussDBClient) CreateGaussMySqlBackup(request *model.CreateGaussMySqlBackupRequest) (*model.CreateGaussMySqlBackupResponse, error)
- func (c *GaussDBClient) CreateGaussMySqlInstance(request *model.CreateGaussMySqlInstanceRequest) (*model.CreateGaussMySqlInstanceResponse, error)
- func (c *GaussDBClient) CreateGaussMySqlProxy(request *model.CreateGaussMySqlProxyRequest) (*model.CreateGaussMySqlProxyResponse, error)
- func (c *GaussDBClient) CreateGaussMySqlReadonlyNode(request *model.CreateGaussMySqlReadonlyNodeRequest) (*model.CreateGaussMySqlReadonlyNodeResponse, error)
- func (c *GaussDBClient) DeleteGaussMySqlInstance(request *model.DeleteGaussMySqlInstanceRequest) (*model.DeleteGaussMySqlInstanceResponse, error)
- func (c *GaussDBClient) DeleteGaussMySqlProxy(request *model.DeleteGaussMySqlProxyRequest) (*model.DeleteGaussMySqlProxyResponse, error)
- func (c *GaussDBClient) DeleteGaussMySqlReadonlyNode(request *model.DeleteGaussMySqlReadonlyNodeRequest) (*model.DeleteGaussMySqlReadonlyNodeResponse, error)
- func (c *GaussDBClient) ExpandGaussMySqlInstanceVolume(request *model.ExpandGaussMySqlInstanceVolumeRequest) (*model.ExpandGaussMySqlInstanceVolumeResponse, error)
- func (c *GaussDBClient) ExpandGaussMySqlProxy(request *model.ExpandGaussMySqlProxyRequest) (*model.ExpandGaussMySqlProxyResponse, error)
- func (c *GaussDBClient) ListGaussMySqlConfigurations(request *model.ListGaussMySqlConfigurationsRequest) (*model.ListGaussMySqlConfigurationsResponse, error)
- func (c *GaussDBClient) ListGaussMySqlDedicatedResources(request *model.ListGaussMySqlDedicatedResourcesRequest) (*model.ListGaussMySqlDedicatedResourcesResponse, error)
- func (c *GaussDBClient) ListGaussMySqlErrorLog(request *model.ListGaussMySqlErrorLogRequest) (*model.ListGaussMySqlErrorLogResponse, error)
- func (c *GaussDBClient) ListGaussMySqlInstances(request *model.ListGaussMySqlInstancesRequest) (*model.ListGaussMySqlInstancesResponse, error)
- func (c *GaussDBClient) ListGaussMySqlSlowLog(request *model.ListGaussMySqlSlowLogRequest) (*model.ListGaussMySqlSlowLogResponse, error)
- func (c *GaussDBClient) ResetGaussMySqlPassword(request *model.ResetGaussMySqlPasswordRequest) (*model.ResetGaussMySqlPasswordResponse, error)
- func (c *GaussDBClient) SetGaussMySqlQuotas(request *model.SetGaussMySqlQuotasRequest) (*model.SetGaussMySqlQuotasResponse, error)
- func (c *GaussDBClient) ShowGaussMySqlBackupList(request *model.ShowGaussMySqlBackupListRequest) (*model.ShowGaussMySqlBackupListResponse, error)
- func (c *GaussDBClient) ShowGaussMySqlBackupPolicy(request *model.ShowGaussMySqlBackupPolicyRequest) (*model.ShowGaussMySqlBackupPolicyResponse, error)
- func (c *GaussDBClient) ShowGaussMySqlEngineVersion(request *model.ShowGaussMySqlEngineVersionRequest) (*model.ShowGaussMySqlEngineVersionResponse, error)
- func (c *GaussDBClient) ShowGaussMySqlFlavors(request *model.ShowGaussMySqlFlavorsRequest) (*model.ShowGaussMySqlFlavorsResponse, error)
- func (c *GaussDBClient) ShowGaussMySqlInstanceInfo(request *model.ShowGaussMySqlInstanceInfoRequest) (*model.ShowGaussMySqlInstanceInfoResponse, error)
- func (c *GaussDBClient) ShowGaussMySqlJobInfo(request *model.ShowGaussMySqlJobInfoRequest) (*model.ShowGaussMySqlJobInfoResponse, error)
- func (c *GaussDBClient) ShowGaussMySqlProjectQuotas(request *model.ShowGaussMySqlProjectQuotasRequest) (*model.ShowGaussMySqlProjectQuotasResponse, error)
- func (c *GaussDBClient) ShowGaussMySqlProxy(request *model.ShowGaussMySqlProxyRequest) (*model.ShowGaussMySqlProxyResponse, error)
- func (c *GaussDBClient) ShowGaussMySqlProxyFlavors(request *model.ShowGaussMySqlProxyFlavorsRequest) (*model.ShowGaussMySqlProxyFlavorsResponse, error)
- func (c *GaussDBClient) ShowGaussMySqlQuotas(request *model.ShowGaussMySqlQuotasRequest) (*model.ShowGaussMySqlQuotasResponse, error)
- func (c *GaussDBClient) UpdateGaussMySqlBackupPolicy(request *model.UpdateGaussMySqlBackupPolicyRequest) (*model.UpdateGaussMySqlBackupPolicyResponse, error)
- func (c *GaussDBClient) UpdateGaussMySqlInstanceName(request *model.UpdateGaussMySqlInstanceNameRequest) (*model.UpdateGaussMySqlInstanceNameResponse, error)
- func (c *GaussDBClient) UpdateGaussMySqlQuotas(request *model.UpdateGaussMySqlQuotasRequest) (*model.UpdateGaussMySqlQuotasResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GaussDBClientBuilder ¶
func GaussDBClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForChangeGaussMySqlInstanceSpecification ¶ added in v0.0.64
func GenReqDefForChangeGaussMySqlInstanceSpecification() *def.HttpRequestDef
func GenReqDefForCreateGaussMySqlBackup ¶ added in v0.0.64
func GenReqDefForCreateGaussMySqlBackup() *def.HttpRequestDef
func GenReqDefForCreateGaussMySqlInstance ¶ added in v0.0.64
func GenReqDefForCreateGaussMySqlInstance() *def.HttpRequestDef
func GenReqDefForCreateGaussMySqlProxy ¶ added in v0.0.64
func GenReqDefForCreateGaussMySqlProxy() *def.HttpRequestDef
func GenReqDefForCreateGaussMySqlReadonlyNode ¶ added in v0.0.64
func GenReqDefForCreateGaussMySqlReadonlyNode() *def.HttpRequestDef
func GenReqDefForDeleteGaussMySqlInstance ¶ added in v0.0.64
func GenReqDefForDeleteGaussMySqlInstance() *def.HttpRequestDef
func GenReqDefForDeleteGaussMySqlProxy ¶ added in v0.0.64
func GenReqDefForDeleteGaussMySqlProxy() *def.HttpRequestDef
func GenReqDefForDeleteGaussMySqlReadonlyNode ¶ added in v0.0.64
func GenReqDefForDeleteGaussMySqlReadonlyNode() *def.HttpRequestDef
func GenReqDefForExpandGaussMySqlInstanceVolume ¶ added in v0.0.64
func GenReqDefForExpandGaussMySqlInstanceVolume() *def.HttpRequestDef
func GenReqDefForExpandGaussMySqlProxy ¶ added in v0.0.64
func GenReqDefForExpandGaussMySqlProxy() *def.HttpRequestDef
func GenReqDefForListGaussMySqlConfigurations ¶ added in v0.0.64
func GenReqDefForListGaussMySqlConfigurations() *def.HttpRequestDef
func GenReqDefForListGaussMySqlDedicatedResources ¶ added in v0.0.64
func GenReqDefForListGaussMySqlDedicatedResources() *def.HttpRequestDef
func GenReqDefForListGaussMySqlErrorLog ¶ added in v0.0.64
func GenReqDefForListGaussMySqlErrorLog() *def.HttpRequestDef
func GenReqDefForListGaussMySqlInstances ¶ added in v0.0.64
func GenReqDefForListGaussMySqlInstances() *def.HttpRequestDef
func GenReqDefForListGaussMySqlSlowLog ¶ added in v0.0.64
func GenReqDefForListGaussMySqlSlowLog() *def.HttpRequestDef
func GenReqDefForResetGaussMySqlPassword ¶ added in v0.0.64
func GenReqDefForResetGaussMySqlPassword() *def.HttpRequestDef
func GenReqDefForSetGaussMySqlQuotas ¶ added in v0.0.64
func GenReqDefForSetGaussMySqlQuotas() *def.HttpRequestDef
func GenReqDefForShowGaussMySqlBackupList ¶ added in v0.0.64
func GenReqDefForShowGaussMySqlBackupList() *def.HttpRequestDef
func GenReqDefForShowGaussMySqlBackupPolicy ¶ added in v0.0.64
func GenReqDefForShowGaussMySqlBackupPolicy() *def.HttpRequestDef
func GenReqDefForShowGaussMySqlEngineVersion ¶ added in v0.0.64
func GenReqDefForShowGaussMySqlEngineVersion() *def.HttpRequestDef
func GenReqDefForShowGaussMySqlFlavors ¶ added in v0.0.64
func GenReqDefForShowGaussMySqlFlavors() *def.HttpRequestDef
func GenReqDefForShowGaussMySqlInstanceInfo ¶ added in v0.0.64
func GenReqDefForShowGaussMySqlInstanceInfo() *def.HttpRequestDef
func GenReqDefForShowGaussMySqlJobInfo ¶ added in v0.0.64
func GenReqDefForShowGaussMySqlJobInfo() *def.HttpRequestDef
func GenReqDefForShowGaussMySqlProjectQuotas ¶ added in v0.0.64
func GenReqDefForShowGaussMySqlProjectQuotas() *def.HttpRequestDef
func GenReqDefForShowGaussMySqlProxy ¶ added in v0.0.64
func GenReqDefForShowGaussMySqlProxy() *def.HttpRequestDef
func GenReqDefForShowGaussMySqlProxyFlavors ¶ added in v0.0.64
func GenReqDefForShowGaussMySqlProxyFlavors() *def.HttpRequestDef
func GenReqDefForShowGaussMySqlQuotas ¶ added in v0.0.64
func GenReqDefForShowGaussMySqlQuotas() *def.HttpRequestDef
func GenReqDefForUpdateGaussMySqlBackupPolicy ¶ added in v0.0.64
func GenReqDefForUpdateGaussMySqlBackupPolicy() *def.HttpRequestDef
func GenReqDefForUpdateGaussMySqlInstanceName ¶ added in v0.0.64
func GenReqDefForUpdateGaussMySqlInstanceName() *def.HttpRequestDef
func GenReqDefForUpdateGaussMySqlQuotas ¶ added in v0.0.64
func GenReqDefForUpdateGaussMySqlQuotas() *def.HttpRequestDef
Types ¶
type GaussDBClient ¶
type GaussDBClient struct {
HcClient *http_client.HcHttpClient
}
func NewGaussDBClient ¶
func NewGaussDBClient(hcClient *http_client.HcHttpClient) *GaussDBClient
func (*GaussDBClient) ChangeGaussMySqlInstanceSpecification ¶ added in v0.0.64
func (c *GaussDBClient) ChangeGaussMySqlInstanceSpecification(request *model.ChangeGaussMySqlInstanceSpecificationRequest) (*model.ChangeGaussMySqlInstanceSpecificationResponse, error)
变更数据库实例的规格。
func (*GaussDBClient) CreateGaussMySqlBackup ¶ added in v0.0.64
func (c *GaussDBClient) CreateGaussMySqlBackup(request *model.CreateGaussMySqlBackupRequest) (*model.CreateGaussMySqlBackupResponse, error)
创建手动备份
func (*GaussDBClient) CreateGaussMySqlInstance ¶ added in v0.0.64
func (c *GaussDBClient) CreateGaussMySqlInstance(request *model.CreateGaussMySqlInstanceRequest) (*model.CreateGaussMySqlInstanceResponse, error)
创建云数据库 GaussDB(for MySQL)实例。
func (*GaussDBClient) CreateGaussMySqlProxy ¶ added in v0.0.64
func (c *GaussDBClient) CreateGaussMySqlProxy(request *model.CreateGaussMySqlProxyRequest) (*model.CreateGaussMySqlProxyResponse, error)
开启数据库代理,只支持ELB模式。
func (*GaussDBClient) CreateGaussMySqlReadonlyNode ¶ added in v0.0.64
func (c *GaussDBClient) CreateGaussMySqlReadonlyNode(request *model.CreateGaussMySqlReadonlyNodeRequest) (*model.CreateGaussMySqlReadonlyNodeResponse, error)
创建只读节点。
func (*GaussDBClient) DeleteGaussMySqlInstance ¶ added in v0.0.64
func (c *GaussDBClient) DeleteGaussMySqlInstance(request *model.DeleteGaussMySqlInstanceRequest) (*model.DeleteGaussMySqlInstanceResponse, error)
删除数据库实例,不支持删除包周期实例。
func (*GaussDBClient) DeleteGaussMySqlProxy ¶ added in v0.0.64
func (c *GaussDBClient) DeleteGaussMySqlProxy(request *model.DeleteGaussMySqlProxyRequest) (*model.DeleteGaussMySqlProxyResponse, error)
关闭数据库代理。
func (*GaussDBClient) DeleteGaussMySqlReadonlyNode ¶ added in v0.0.64
func (c *GaussDBClient) DeleteGaussMySqlReadonlyNode(request *model.DeleteGaussMySqlReadonlyNodeRequest) (*model.DeleteGaussMySqlReadonlyNodeResponse, error)
删除实例的只读节点。多可用区模式删除只读节点时,要保证删除后,剩余的只读节点和主节点在不同的可用区中,否则无法删除该只读节点。
func (*GaussDBClient) ExpandGaussMySqlInstanceVolume ¶ added in v0.0.64
func (c *GaussDBClient) ExpandGaussMySqlInstanceVolume(request *model.ExpandGaussMySqlInstanceVolumeRequest) (*model.ExpandGaussMySqlInstanceVolumeResponse, error)
包周期存储扩容
func (*GaussDBClient) ExpandGaussMySqlProxy ¶ added in v0.0.64
func (c *GaussDBClient) ExpandGaussMySqlProxy(request *model.ExpandGaussMySqlProxyRequest) (*model.ExpandGaussMySqlProxyResponse, error)
扩容数据库代理节点的数量。 DeC专属云账号暂不支持数据库代理。
func (*GaussDBClient) ListGaussMySqlConfigurations ¶ added in v0.0.64
func (c *GaussDBClient) ListGaussMySqlConfigurations(request *model.ListGaussMySqlConfigurationsRequest) (*model.ListGaussMySqlConfigurationsResponse, error)
获取参数模板列表,包括所有数据库的默认参数模板和用户创建的参数模板。
func (*GaussDBClient) ListGaussMySqlDedicatedResources ¶ added in v0.0.64
func (c *GaussDBClient) ListGaussMySqlDedicatedResources(request *model.ListGaussMySqlDedicatedResourcesRequest) (*model.ListGaussMySqlDedicatedResourcesResponse, error)
获取专属资源池列表,包括用户开通的所有专属资源池信息。
func (*GaussDBClient) ListGaussMySqlErrorLog ¶ added in v0.0.64
func (c *GaussDBClient) ListGaussMySqlErrorLog(request *model.ListGaussMySqlErrorLogRequest) (*model.ListGaussMySqlErrorLogResponse, error)
查询数据库错误日志。
func (*GaussDBClient) ListGaussMySqlInstances ¶ added in v0.0.64
func (c *GaussDBClient) ListGaussMySqlInstances(request *model.ListGaussMySqlInstancesRequest) (*model.ListGaussMySqlInstancesResponse, error)
根据指定条件查询实例列表。
func (*GaussDBClient) ListGaussMySqlSlowLog ¶ added in v0.0.64
func (c *GaussDBClient) ListGaussMySqlSlowLog(request *model.ListGaussMySqlSlowLogRequest) (*model.ListGaussMySqlSlowLogResponse, error)
查询数据库慢日志
func (*GaussDBClient) ResetGaussMySqlPassword ¶ added in v0.0.64
func (c *GaussDBClient) ResetGaussMySqlPassword(request *model.ResetGaussMySqlPasswordRequest) (*model.ResetGaussMySqlPasswordResponse, error)
重置数据库密码
func (*GaussDBClient) SetGaussMySqlQuotas ¶ added in v0.0.64
func (c *GaussDBClient) SetGaussMySqlQuotas(request *model.SetGaussMySqlQuotasRequest) (*model.SetGaussMySqlQuotasResponse, error)
设置指定企业项目的资源配额。
func (*GaussDBClient) ShowGaussMySqlBackupList ¶ added in v0.0.64
func (c *GaussDBClient) ShowGaussMySqlBackupList(request *model.ShowGaussMySqlBackupListRequest) (*model.ShowGaussMySqlBackupListResponse, error)
查询备份列表
func (*GaussDBClient) ShowGaussMySqlBackupPolicy ¶ added in v0.0.64
func (c *GaussDBClient) ShowGaussMySqlBackupPolicy(request *model.ShowGaussMySqlBackupPolicyRequest) (*model.ShowGaussMySqlBackupPolicyResponse, error)
查询自动备份策略。
func (*GaussDBClient) ShowGaussMySqlEngineVersion ¶ added in v0.0.64
func (c *GaussDBClient) ShowGaussMySqlEngineVersion(request *model.ShowGaussMySqlEngineVersionRequest) (*model.ShowGaussMySqlEngineVersionResponse, error)
获取指定数据库引擎对应的数据库版本信息。
func (*GaussDBClient) ShowGaussMySqlFlavors ¶ added in v0.0.64
func (c *GaussDBClient) ShowGaussMySqlFlavors(request *model.ShowGaussMySqlFlavorsRequest) (*model.ShowGaussMySqlFlavorsResponse, error)
获取指定数据库引擎版本对应的规格信息。
func (*GaussDBClient) ShowGaussMySqlInstanceInfo ¶ added in v0.0.64
func (c *GaussDBClient) ShowGaussMySqlInstanceInfo(request *model.ShowGaussMySqlInstanceInfoRequest) (*model.ShowGaussMySqlInstanceInfoResponse, error)
查询实例详情信息
func (*GaussDBClient) ShowGaussMySqlJobInfo ¶ added in v0.0.64
func (c *GaussDBClient) ShowGaussMySqlJobInfo(request *model.ShowGaussMySqlJobInfoRequest) (*model.ShowGaussMySqlJobInfoResponse, error)
获取指定ID的任务信息。
func (*GaussDBClient) ShowGaussMySqlProjectQuotas ¶ added in v0.0.64
func (c *GaussDBClient) ShowGaussMySqlProjectQuotas(request *model.ShowGaussMySqlProjectQuotasRequest) (*model.ShowGaussMySqlProjectQuotasResponse, error)
获取指定租户的资源配额。
func (*GaussDBClient) ShowGaussMySqlProxy ¶ added in v0.0.64
func (c *GaussDBClient) ShowGaussMySqlProxy(request *model.ShowGaussMySqlProxyRequest) (*model.ShowGaussMySqlProxyResponse, error)
查询数据库代理信息。
func (*GaussDBClient) ShowGaussMySqlProxyFlavors ¶ added in v0.0.64
func (c *GaussDBClient) ShowGaussMySqlProxyFlavors(request *model.ShowGaussMySqlProxyFlavorsRequest) (*model.ShowGaussMySqlProxyFlavorsResponse, error)
查询数据库代理规格信息。
func (*GaussDBClient) ShowGaussMySqlQuotas ¶ added in v0.0.64
func (c *GaussDBClient) ShowGaussMySqlQuotas(request *model.ShowGaussMySqlQuotasRequest) (*model.ShowGaussMySqlQuotasResponse, error)
获取指定企业项目的资源配额。
func (*GaussDBClient) UpdateGaussMySqlBackupPolicy ¶ added in v0.0.64
func (c *GaussDBClient) UpdateGaussMySqlBackupPolicy(request *model.UpdateGaussMySqlBackupPolicyRequest) (*model.UpdateGaussMySqlBackupPolicyResponse, error)
修改备份策略
func (*GaussDBClient) UpdateGaussMySqlInstanceName ¶ added in v0.0.64
func (c *GaussDBClient) UpdateGaussMySqlInstanceName(request *model.UpdateGaussMySqlInstanceNameRequest) (*model.UpdateGaussMySqlInstanceNameResponse, error)
修改实例名称
func (*GaussDBClient) UpdateGaussMySqlQuotas ¶ added in v0.0.64
func (c *GaussDBClient) UpdateGaussMySqlQuotas(request *model.UpdateGaussMySqlQuotasRequest) (*model.UpdateGaussMySqlQuotasResponse, error)
修改指定企业项目的资源配额。
Click to show internal directories.
Click to hide internal directories.