Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.huaweicloud.sdk.gaussdbforopengauss.v3.GaussDBforopenGaussAsyncClient Maven / Gradle / Ivy
package com.huaweicloud.sdk.gaussdbforopengauss.v3;
import com.huaweicloud.sdk.core.HcClient;
import com.huaweicloud.sdk.core.ClientBuilder;
import java.util.concurrent.CompletableFuture;
import java.util.function.Function;
import com.huaweicloud.sdk.core.invoker.AsyncInvoker;
import com.huaweicloud.sdk.gaussdbforopengauss.v3.model.*;
public class GaussDBforopenGaussAsyncClient {
protected HcClient hcClient;
public GaussDBforopenGaussAsyncClient(HcClient hcClient) {
this.hcClient = hcClient;
}
public static ClientBuilder newBuilder() {
return new ClientBuilder<>(GaussDBforopenGaussAsyncClient::new);
}
/**
* 添加实例标签。
*
* 对指定实例添加用户标签信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param AddInstanceTagsRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture addInstanceTagsAsync(AddInstanceTagsRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.addInstanceTags);
}
/**
* 添加实例标签。
*
* 对指定实例添加用户标签信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param AddInstanceTagsRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker addInstanceTagsAsyncInvoker(AddInstanceTagsRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.addInstanceTags, hcClient);
}
/**
* 授权数据库帐号
*
* 在指定实例的数据库中, 设置帐号的权限。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param AllowDbPrivilegesRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture allowDbPrivilegesAsync(AllowDbPrivilegesRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.allowDbPrivileges);
}
/**
* 授权数据库帐号
*
* 在指定实例的数据库中, 设置帐号的权限。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param AllowDbPrivilegesRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker allowDbPrivilegesAsyncInvoker(AllowDbPrivilegesRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.allowDbPrivileges, hcClient);
}
/**
* 绑定/解绑弹性公网IP
*
* 实例下的节点绑定弹性公网IP/解绑弹性公网IP
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param AttachEipRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture attachEipAsync(AttachEipRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.attachEip);
}
/**
* 绑定/解绑弹性公网IP
*
* 实例下的节点绑定弹性公网IP/解绑弹性公网IP
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param AttachEipRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker attachEipAsyncInvoker(AttachEipRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.attachEip, hcClient);
}
/**
* 复制参数模板
*
* 复制参数模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CopyConfigurationRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture copyConfigurationAsync(CopyConfigurationRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.copyConfiguration);
}
/**
* 复制参数模板
*
* 复制参数模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CopyConfigurationRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker copyConfigurationAsyncInvoker(CopyConfigurationRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.copyConfiguration, hcClient);
}
/**
* 创建参数模板
*
* 创建参数模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateConfigurationTemplateRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createConfigurationTemplateAsync(CreateConfigurationTemplateRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.createConfigurationTemplate);
}
/**
* 创建参数模板
*
* 创建参数模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateConfigurationTemplateRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createConfigurationTemplateAsyncInvoker(CreateConfigurationTemplateRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.createConfigurationTemplate, hcClient);
}
/**
* 创建数据库
*
* 在指定实例中创建数据库。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateDatabaseRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createDatabaseAsync(CreateDatabaseRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.createDatabase);
}
/**
* 创建数据库
*
* 在指定实例中创建数据库。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateDatabaseRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createDatabaseAsyncInvoker(CreateDatabaseRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.createDatabase, hcClient);
}
/**
* 创建数据库SCHEMA
*
* 在指定实例的数据库中, 创建数据库schema。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateDatabaseSchemasRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createDatabaseSchemasAsync(CreateDatabaseSchemasRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.createDatabaseSchemas);
}
/**
* 创建数据库SCHEMA
*
* 在指定实例的数据库中, 创建数据库schema。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateDatabaseSchemasRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createDatabaseSchemasAsyncInvoker(CreateDatabaseSchemasRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.createDatabaseSchemas, hcClient);
}
/**
* 创建数据库用户
*
* 在指定实例中创建数据库用户。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateDbUserRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createDbUserAsync(CreateDbUserRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.createDbUser);
}
/**
* 创建数据库用户
*
* 在指定实例中创建数据库用户。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateDbUserRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createDbUserAsyncInvoker(CreateDbUserRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.createDbUser, hcClient);
}
/**
* 创建数据库实例
*
* 创建数据库企业版和集中式实例
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateInstanceRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createInstanceAsync(CreateInstanceRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.createInstance);
}
/**
* 创建数据库实例
*
* 创建数据库企业版和集中式实例
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateInstanceRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createInstanceAsyncInvoker(CreateInstanceRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.createInstance, hcClient);
}
/**
* 创建手动备份
*
* 创建手动备份。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateManualBackupRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createManualBackupAsync(CreateManualBackupRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.createManualBackup);
}
/**
* 创建手动备份
*
* 创建手动备份。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateManualBackupRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createManualBackupAsyncInvoker(CreateManualBackupRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.createManualBackup, hcClient);
}
/**
* 恢复到新实例
*
* 根据备份恢复新实例。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateRestoreInstanceRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture createRestoreInstanceAsync(CreateRestoreInstanceRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.createRestoreInstance);
}
/**
* 恢复到新实例
*
* 根据备份恢复新实例。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateRestoreInstanceRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker createRestoreInstanceAsyncInvoker(CreateRestoreInstanceRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.createRestoreInstance, hcClient);
}
/**
* 删除参数模板
*
* 删除参数模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteConfigurationRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture deleteConfigurationAsync(DeleteConfigurationRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.deleteConfiguration);
}
/**
* 删除参数模板
*
* 删除参数模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteConfigurationRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker deleteConfigurationAsyncInvoker(DeleteConfigurationRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.deleteConfiguration, hcClient);
}
/**
* 删除实例
*
* 删除数据库实例。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteInstanceRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture deleteInstanceAsync(DeleteInstanceRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.deleteInstance);
}
/**
* 删除实例
*
* 删除数据库实例。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteInstanceRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker deleteInstanceAsyncInvoker(DeleteInstanceRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.deleteInstance, hcClient);
}
/**
* 删除任务记录
*
* 删除任务记录。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteJobRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture deleteJobAsync(DeleteJobRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.deleteJob);
}
/**
* 删除任务记录
*
* 删除任务记录。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteJobRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker deleteJobAsyncInvoker(DeleteJobRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.deleteJob, hcClient);
}
/**
* 删除手动备份
*
* 删除手动备份。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteManualBackupRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture deleteManualBackupAsync(DeleteManualBackupRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.deleteManualBackup);
}
/**
* 删除手动备份
*
* 删除手动备份。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteManualBackupRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker deleteManualBackupAsyncInvoker(DeleteManualBackupRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.deleteManualBackup, hcClient);
}
/**
* 查询可应用实例列表
*
* 查询可应用当前参数组模板的实例列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListApplicableInstancesRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listApplicableInstancesAsync(ListApplicableInstancesRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listApplicableInstances);
}
/**
* 查询可应用实例列表
*
* 查询可应用当前参数组模板的实例列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListApplicableInstancesRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listApplicableInstancesAsyncInvoker(ListApplicableInstancesRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listApplicableInstances, hcClient);
}
/**
* 查询参数模板的应用记录
*
* 查询参数模板的应用记录,以实例级别为维度。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListAppliedHistoriesRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listAppliedHistoriesAsync(ListAppliedHistoriesRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listAppliedHistories);
}
/**
* 查询参数模板的应用记录
*
* 查询参数模板的应用记录,以实例级别为维度。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListAppliedHistoriesRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listAppliedHistoriesAsyncInvoker(ListAppliedHistoriesRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listAppliedHistories, hcClient);
}
/**
* 查询实例可变更规格
*
* 查询实例可变更规格列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListAvailableFlavorsRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listAvailableFlavorsAsync(ListAvailableFlavorsRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listAvailableFlavors);
}
/**
* 查询实例可变更规格
*
* 查询实例可变更规格列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListAvailableFlavorsRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listAvailableFlavorsAsyncInvoker(ListAvailableFlavorsRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listAvailableFlavors, hcClient);
}
/**
* 查询备份列表
*
* 获取备份列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListBackupsRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listBackupsAsync(ListBackupsRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listBackups);
}
/**
* 查询备份列表
*
* 获取备份列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListBackupsRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listBackupsAsyncInvoker(ListBackupsRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listBackups, hcClient);
}
/**
* 查询实例已绑定EIP列表
*
* 查询实例已绑定EIP列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListBindedEipsRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listBindedEipsAsync(ListBindedEipsRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listBindedEips);
}
/**
* 查询实例已绑定EIP列表
*
* 查询实例已绑定EIP列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListBindedEipsRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listBindedEipsAsyncInvoker(ListBindedEipsRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listBindedEips, hcClient);
}
/**
* 查询实例的组件列表
*
* 查询实例的组件列表
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListComponentInfosRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listComponentInfosAsync(ListComponentInfosRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listComponentInfos);
}
/**
* 查询实例的组件列表
*
* 查询实例的组件列表
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListComponentInfosRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listComponentInfosAsyncInvoker(ListComponentInfosRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listComponentInfos, hcClient);
}
/**
* 获取参数模板列表
*
* 获取参数模板列表,包括所有数据库的默认参数模板和用户创建的参数模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListConfigurationsRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listConfigurationsAsync(ListConfigurationsRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listConfigurations);
}
/**
* 获取参数模板列表
*
* 获取参数模板列表,包括所有数据库的默认参数模板和用户创建的参数模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListConfigurationsRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listConfigurationsAsyncInvoker(ListConfigurationsRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listConfigurations, hcClient);
}
/**
* 比较两个参数组模板之间的差异
*
* 获取两个参数配置模板的差异列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListConfigurationsDiffRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listConfigurationsDiffAsync(ListConfigurationsDiffRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listConfigurationsDiff);
}
/**
* 比较两个参数组模板之间的差异
*
* 获取两个参数配置模板的差异列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListConfigurationsDiffRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listConfigurationsDiffAsyncInvoker(ListConfigurationsDiffRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listConfigurationsDiff, hcClient);
}
/**
* 查询数据库SCHEMA列表
*
* 查询指定实例的数据库SCHEMA列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListDatabaseSchemasRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listDatabaseSchemasAsync(ListDatabaseSchemasRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listDatabaseSchemas);
}
/**
* 查询数据库SCHEMA列表
*
* 查询指定实例的数据库SCHEMA列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListDatabaseSchemasRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listDatabaseSchemasAsyncInvoker(ListDatabaseSchemasRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listDatabaseSchemas, hcClient);
}
/**
* 查询数据库列表
*
* 查询指定实例中的数据库列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListDatabasesRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listDatabasesAsync(ListDatabasesRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listDatabases);
}
/**
* 查询数据库列表
*
* 查询指定实例中的数据库列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListDatabasesRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listDatabasesAsyncInvoker(ListDatabasesRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listDatabases, hcClient);
}
/**
* 查询数据库引擎的版本
*
* 查询指定数据库引擎对应的版本信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListDatastoresRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listDatastoresAsync(ListDatastoresRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listDatastores);
}
/**
* 查询数据库引擎的版本
*
* 查询指定数据库引擎对应的版本信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListDatastoresRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listDatastoresAsyncInvoker(ListDatastoresRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listDatastores, hcClient);
}
/**
* 查询数据库用户列表
*
* 在指定实例中查询数据库用户列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListDbUsersRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listDbUsersAsync(ListDbUsersRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listDbUsers);
}
/**
* 查询数据库用户列表
*
* 在指定实例中查询数据库用户列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListDbUsersRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listDbUsersAsyncInvoker(ListDbUsersRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listDbUsers, hcClient);
}
/**
* 查询企业项目配额组
*
* 查询企业项目配额组信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListEpsQuotasRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listEpsQuotasAsync(ListEpsQuotasRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listEpsQuotas);
}
/**
* 查询企业项目配额组
*
* 查询企业项目配额组信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListEpsQuotasRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listEpsQuotasAsyncInvoker(ListEpsQuotasRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listEpsQuotas, hcClient);
}
/**
* 查询数据库规格
*
* 查询数据库的规格信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListFlavorsRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listFlavorsAsync(ListFlavorsRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listFlavors);
}
/**
* 查询数据库规格
*
* 查询数据库的规格信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListFlavorsRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listFlavorsAsyncInvoker(ListFlavorsRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listFlavors, hcClient);
}
/**
* 查询引擎列表
*
* 查询引擎列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListGaussDbDatastoresRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listGaussDbDatastoresAsync(ListGaussDbDatastoresRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listGaussDbDatastores);
}
/**
* 查询引擎列表
*
* 查询引擎列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListGaussDbDatastoresRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listGaussDbDatastoresAsyncInvoker(ListGaussDbDatastoresRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listGaussDbDatastores, hcClient);
}
/**
* 查询参数模板的修改历史
*
* 查询参数模板的修改历史记录。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListHistoryOperationsRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listHistoryOperationsAsync(ListHistoryOperationsRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listHistoryOperations);
}
/**
* 查询参数模板的修改历史
*
* 查询参数模板的修改历史记录。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListHistoryOperationsRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listHistoryOperationsAsyncInvoker(ListHistoryOperationsRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listHistoryOperations, hcClient);
}
/**
* 查询实例标签
*
* 查询指定实例的用户标签信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListInstanceTagsRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listInstanceTagsAsync(ListInstanceTagsRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listInstanceTags);
}
/**
* 查询实例标签
*
* 查询指定实例的用户标签信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListInstanceTagsRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listInstanceTagsAsyncInvoker(ListInstanceTagsRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listInstanceTags, hcClient);
}
/**
* 查询数据库实例列表/查询实例详情
*
* 查询数据库实例列表/查询实例详情
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListInstancesRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listInstancesAsync(ListInstancesRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listInstances);
}
/**
* 查询数据库实例列表/查询实例详情
*
* 查询数据库实例列表/查询实例详情
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListInstancesRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listInstancesAsyncInvoker(ListInstancesRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listInstances, hcClient);
}
/**
* 查询预定义标签
*
* 查询预预定义标签。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListPredefinedTagsRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listPredefinedTagsAsync(ListPredefinedTagsRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listPredefinedTags);
}
/**
* 查询预定义标签
*
* 查询预预定义标签。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListPredefinedTagsRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listPredefinedTagsAsyncInvoker(ListPredefinedTagsRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listPredefinedTags, hcClient);
}
/**
* 查询项目标签
*
* 查询项目下所有用户标签信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListProjectTagsRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listProjectTagsAsync(ListProjectTagsRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listProjectTags);
}
/**
* 查询项目标签
*
* 查询项目下所有用户标签信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListProjectTagsRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listProjectTagsAsyncInvoker(ListProjectTagsRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listProjectTags, hcClient);
}
/**
* 查询回收站所有引擎实例列表。
*
* 查询回收站所有引擎实例列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListRecycleInstancesRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listRecycleInstancesAsync(ListRecycleInstancesRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listRecycleInstances);
}
/**
* 查询回收站所有引擎实例列表。
*
* 查询回收站所有引擎实例列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListRecycleInstancesRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listRecycleInstancesAsyncInvoker(ListRecycleInstancesRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listRecycleInstances, hcClient);
}
/**
* 查询可用于备份恢复的实例列表
*
* 查询可用于备份恢复的实例列表,实例信息要符合备份条件。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListRestorableInstancesRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listRestorableInstancesAsync(ListRestorableInstancesRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listRestorableInstances);
}
/**
* 查询可用于备份恢复的实例列表
*
* 查询可用于备份恢复的实例列表,实例信息要符合备份条件。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListRestorableInstancesRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listRestorableInstancesAsyncInvoker(ListRestorableInstancesRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listRestorableInstances, hcClient);
}
/**
* 查询可恢复时间段
*
* 查询可恢复时间段。
* 如果您备份策略中的保存天数设置较长,建议您传入查询日期“date”。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListRestoreTimesRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listRestoreTimesAsync(ListRestoreTimesRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listRestoreTimes);
}
/**
* 查询可恢复时间段
*
* 查询可恢复时间段。
* 如果您备份策略中的保存天数设置较长,建议您传入查询日期“date”。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListRestoreTimesRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listRestoreTimesAsyncInvoker(ListRestoreTimesRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listRestoreTimes, hcClient);
}
/**
* 查询数据库磁盘类型
*
* 查询指定数据库引擎对应的磁盘类型。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListStorageTypesRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listStorageTypesAsync(ListStorageTypesRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listStorageTypes);
}
/**
* 查询数据库磁盘类型
*
* 查询指定数据库引擎对应的磁盘类型。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListStorageTypesRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listStorageTypesAsyncInvoker(ListStorageTypesRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listStorageTypes, hcClient);
}
/**
* 查询任务列表
*
* 获取任务中心的任务列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListTasksRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture listTasksAsync(ListTasksRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.listTasks);
}
/**
* 查询任务列表
*
* 获取任务中心的任务列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListTasksRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker listTasksAsyncInvoker(ListTasksRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.listTasks, hcClient);
}
/**
* 修改企业项目配额
*
* 修改企业项目配额。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ModifyEpsQuotaRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture modifyEpsQuotaAsync(ModifyEpsQuotaRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.modifyEpsQuota);
}
/**
* 修改企业项目配额
*
* 修改企业项目配额。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ModifyEpsQuotaRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker modifyEpsQuotaAsyncInvoker(ModifyEpsQuotaRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.modifyEpsQuota, hcClient);
}
/**
* 重置参数模板
*
* 重置参数模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ResetConfigurationRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture resetConfigurationAsync(ResetConfigurationRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.resetConfiguration);
}
/**
* 重置参数模板
*
* 重置参数模板。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ResetConfigurationRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker resetConfigurationAsyncInvoker(ResetConfigurationRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.resetConfiguration, hcClient);
}
/**
* 重置数据库密码。
*
* 重置数据库密码。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ResetPwdRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture resetPwdAsync(ResetPwdRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.resetPwd);
}
/**
* 重置数据库密码。
*
* 重置数据库密码。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ResetPwdRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker resetPwdAsyncInvoker(ResetPwdRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.resetPwd, hcClient);
}
/**
* GaussDB数据库实例规格变更
*
* GaussDB数据库实例规格变更
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ResizeInstanceFlavorRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture resizeInstanceFlavorAsync(ResizeInstanceFlavorRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.resizeInstanceFlavor);
}
/**
* GaussDB数据库实例规格变更
*
* GaussDB数据库实例规格变更
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ResizeInstanceFlavorRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker resizeInstanceFlavorAsyncInvoker(ResizeInstanceFlavorRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.resizeInstanceFlavor, hcClient);
}
/**
* 重启数据库实例
*
* 重启数据库实例。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param RestartInstanceRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture restartInstanceAsync(RestartInstanceRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.restartInstance);
}
/**
* 重启数据库实例
*
* 重启数据库实例。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param RestartInstanceRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker restartInstanceAsyncInvoker(RestartInstanceRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.restartInstance, hcClient);
}
/**
* CN横向扩容/DN分片扩容/磁盘扩容
*
* CN横向扩容/DN分片扩容/磁盘扩容
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param RunInstanceActionRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture runInstanceActionAsync(RunInstanceActionRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.runInstanceAction);
}
/**
* CN横向扩容/DN分片扩容/磁盘扩容
*
* CN横向扩容/DN分片扩容/磁盘扩容
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param RunInstanceActionRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker runInstanceActionAsyncInvoker(RunInstanceActionRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.runInstanceAction, hcClient);
}
/**
* 设置自动备份策略。
*
* 设置自动备份策略。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param SetBackupPolicyRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture setBackupPolicyAsync(SetBackupPolicyRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.setBackupPolicy);
}
/**
* 设置自动备份策略。
*
* 设置自动备份策略。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param SetBackupPolicyRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker setBackupPolicyAsyncInvoker(SetBackupPolicyRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.setBackupPolicy, hcClient);
}
/**
* 重置数据库帐号密码
*
* 重置指定数据库帐号的密码。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param SetDbUserPwdRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture setDbUserPwdAsync(SetDbUserPwdRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.setDbUserPwd);
}
/**
* 重置数据库帐号密码
*
* 重置指定数据库帐号的密码。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param SetDbUserPwdRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker setDbUserPwdAsyncInvoker(SetDbUserPwdRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.setDbUserPwd, hcClient);
}
/**
* 设置回收站策略
*
* 设置回收站策略。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param SetRecyclePolicyRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture setRecyclePolicyAsync(SetRecyclePolicyRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.setRecyclePolicy);
}
/**
* 设置回收站策略
*
* 设置回收站策略。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param SetRecyclePolicyRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker setRecyclePolicyAsyncInvoker(SetRecyclePolicyRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.setRecyclePolicy, hcClient);
}
/**
* 查询自动备份策略
*
* 查询自动备份策略。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowBackupPolicyRequest 请求对象
* @return CompletableFuture
*/
public CompletableFuture showBackupPolicyAsync(ShowBackupPolicyRequest request) {
return hcClient.asyncInvokeHttp(request, GaussDBforopenGaussMeta.showBackupPolicy);
}
/**
* 查询自动备份策略
*
* 查询自动备份策略。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowBackupPolicyRequest 请求对象
* @return AsyncInvoker
*/
public AsyncInvoker showBackupPolicyAsyncInvoker(ShowBackupPolicyRequest request) {
return new AsyncInvoker(request, GaussDBforopenGaussMeta.showBackupPolicy, hcClient);
}
/**
* 查询实例主备平衡状态
*
* 查询实例是否发生过主备切换而导致主机负载不均衡。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowBalanceStatusRequest 请求对象
* @return CompletableFuture