Documentation ¶
Index ¶
- func GaussDBforopenGaussClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateInstance() *def.HttpRequestDef
- func GenReqDefForDeleteInstance() *def.HttpRequestDef
- func GenReqDefForListConfigurations() *def.HttpRequestDef
- func GenReqDefForListDatastores() *def.HttpRequestDef
- func GenReqDefForListFlavors() *def.HttpRequestDef
- func GenReqDefForListInstances() *def.HttpRequestDef
- func GenReqDefForListStorageTypes() *def.HttpRequestDef
- func GenReqDefForResetPwd() *def.HttpRequestDef
- func GenReqDefForRestartInstance() *def.HttpRequestDef
- func GenReqDefForRunInstanceAction() *def.HttpRequestDef
- func GenReqDefForSetBackupPolicy() *def.HttpRequestDef
- func GenReqDefForShowInstanceConfiguration() *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) ListConfigurations(request *model.ListConfigurationsRequest) (*model.ListConfigurationsResponse, error)
- func (c *GaussDBforopenGaussClient) ListDatastores(request *model.ListDatastoresRequest) (*model.ListDatastoresResponse, error)
- func (c *GaussDBforopenGaussClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListFlavorsResponse, error)
- func (c *GaussDBforopenGaussClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
- func (c *GaussDBforopenGaussClient) ListStorageTypes(request *model.ListStorageTypesRequest) (*model.ListStorageTypesResponse, error)
- func (c *GaussDBforopenGaussClient) ResetPwd(request *model.ResetPwdRequest) (*model.ResetPwdResponse, error)
- func (c *GaussDBforopenGaussClient) RestartInstance(request *model.RestartInstanceRequest) (*model.RestartInstanceResponse, error)
- func (c *GaussDBforopenGaussClient) RunInstanceAction(request *model.RunInstanceActionRequest) (*model.RunInstanceActionResponse, error)
- func (c *GaussDBforopenGaussClient) SetBackupPolicy(request *model.SetBackupPolicyRequest) (*model.SetBackupPolicyResponse, error)
- func (c *GaussDBforopenGaussClient) ShowInstanceConfiguration(request *model.ShowInstanceConfigurationRequest) (*model.ShowInstanceConfigurationResponse, 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 GenReqDefForListConfigurations ¶ added in v0.0.83
func GenReqDefForListConfigurations() *def.HttpRequestDef
func GenReqDefForListDatastores ¶ added in v0.0.83
func GenReqDefForListDatastores() *def.HttpRequestDef
func GenReqDefForListFlavors ¶ added in v0.0.83
func GenReqDefForListFlavors() *def.HttpRequestDef
func GenReqDefForListInstances ¶
func GenReqDefForListInstances() *def.HttpRequestDef
func GenReqDefForListStorageTypes ¶ added in v0.0.83
func GenReqDefForListStorageTypes() *def.HttpRequestDef
func GenReqDefForResetPwd ¶
func GenReqDefForResetPwd() *def.HttpRequestDef
func GenReqDefForRestartInstance ¶ added in v0.0.84
func GenReqDefForRestartInstance() *def.HttpRequestDef
func GenReqDefForRunInstanceAction ¶
func GenReqDefForRunInstanceAction() *def.HttpRequestDef
func GenReqDefForSetBackupPolicy ¶
func GenReqDefForSetBackupPolicy() *def.HttpRequestDef
func GenReqDefForShowInstanceConfiguration ¶ added in v0.0.84
func GenReqDefForShowInstanceConfiguration() *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)
创建数据库实例
创建数据库企业版和集中式实例
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GaussDBforopenGaussClient) DeleteInstance ¶
func (c *GaussDBforopenGaussClient) DeleteInstance(request *model.DeleteInstanceRequest) (*model.DeleteInstanceResponse, error)
删除实例
删除数据库实例。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GaussDBforopenGaussClient) ListConfigurations ¶ added in v0.0.83
func (c *GaussDBforopenGaussClient) ListConfigurations(request *model.ListConfigurationsRequest) (*model.ListConfigurationsResponse, error)
获取参数模板列表
获取参数模板列表,包括所有数据库的默认参数模板和用户创建的参数模板。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GaussDBforopenGaussClient) ListDatastores ¶ added in v0.0.83
func (c *GaussDBforopenGaussClient) ListDatastores(request *model.ListDatastoresRequest) (*model.ListDatastoresResponse, error)
查询数据库引擎的版本
查询指定数据库引擎对应的版本信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GaussDBforopenGaussClient) ListFlavors ¶ added in v0.0.83
func (c *GaussDBforopenGaussClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListFlavorsResponse, error)
查询数据库规格
查询数据库的规格信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GaussDBforopenGaussClient) ListInstances ¶
func (c *GaussDBforopenGaussClient) ListInstances(request *model.ListInstancesRequest) (*model.ListInstancesResponse, error)
查询数据库实例列表/查询实例详情
查询数据库实例列表/查询实例详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GaussDBforopenGaussClient) ListStorageTypes ¶ added in v0.0.83
func (c *GaussDBforopenGaussClient) ListStorageTypes(request *model.ListStorageTypesRequest) (*model.ListStorageTypesResponse, error)
查询数据库磁盘类型
查询指定数据库引擎对应的磁盘类型。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GaussDBforopenGaussClient) ResetPwd ¶
func (c *GaussDBforopenGaussClient) ResetPwd(request *model.ResetPwdRequest) (*model.ResetPwdResponse, error)
重置数据库密码。
重置数据库密码。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GaussDBforopenGaussClient) RestartInstance ¶ added in v0.0.84
func (c *GaussDBforopenGaussClient) RestartInstance(request *model.RestartInstanceRequest) (*model.RestartInstanceResponse, error)
重启数据库实例
重启数据库实例。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GaussDBforopenGaussClient) RunInstanceAction ¶
func (c *GaussDBforopenGaussClient) RunInstanceAction(request *model.RunInstanceActionRequest) (*model.RunInstanceActionResponse, error)
CN横向扩容/DN分片扩容/磁盘扩容
CN横向扩容/DN分片扩容/磁盘扩容
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GaussDBforopenGaussClient) SetBackupPolicy ¶
func (c *GaussDBforopenGaussClient) SetBackupPolicy(request *model.SetBackupPolicyRequest) (*model.SetBackupPolicyResponse, error)
设置自动备份策略。
设置自动备份策略。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GaussDBforopenGaussClient) ShowInstanceConfiguration ¶ added in v0.0.84
func (c *GaussDBforopenGaussClient) ShowInstanceConfiguration(request *model.ShowInstanceConfigurationRequest) (*model.ShowInstanceConfigurationResponse, error)
获取指定实例的参数模板
获取指定实例的参数模板。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GaussDBforopenGaussClient) UpdateInstanceConfiguration ¶
func (c *GaussDBforopenGaussClient) UpdateInstanceConfiguration(request *model.UpdateInstanceConfigurationRequest) (*model.UpdateInstanceConfigurationResponse, error)
修改指定实例的参数
修改指定实例的参数。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*GaussDBforopenGaussClient) UpdateInstanceName ¶
func (c *GaussDBforopenGaussClient) UpdateInstanceName(request *model.UpdateInstanceNameRequest) (*model.UpdateInstanceNameResponse, error)
修改实例名称
修改实例名称。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.