public class OmsAsyncClient extends Object
| Constructor and Description |
|---|
OmsAsyncClient(HcClient hcClient) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<CreateSyncEventsResponse> |
createSyncEventsAsync(CreateSyncEventsRequest request)
创建同步事件
源端有对象需要进行同步时,调用该接口创建一个同步事件,系统将根据同步事件中包含的对象名称进行同步(目前只支持华北-北京四、华东-上海一地区)
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<CreateSyncEventsRequest,CreateSyncEventsResponse> |
createSyncEventsAsyncInvoker(CreateSyncEventsRequest request)
创建同步事件
源端有对象需要进行同步时,调用该接口创建一个同步事件,系统将根据同步事件中包含的对象名称进行同步(目前只支持华北-北京四、华东-上海一地区)
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
CompletableFuture<CreateTaskResponse> |
createTaskAsync(CreateTaskRequest request)
创建迁移任务
创建迁移任务,创建成功后,任务会被自动启动,不需要额外调用启动任务命令。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<CreateTaskRequest,CreateTaskResponse> |
createTaskAsyncInvoker(CreateTaskRequest request)
创建迁移任务
创建迁移任务,创建成功后,任务会被自动启动,不需要额外调用启动任务命令。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
CompletableFuture<DeleteTaskResponse> |
deleteTaskAsync(DeleteTaskRequest request)
删除迁移任务
调用该接口删除迁移任务。
正在运行的任务不允许删除,如果删除会返回失败;若要删除,请先行暂停任务。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<DeleteTaskRequest,DeleteTaskResponse> |
deleteTaskAsyncInvoker(DeleteTaskRequest request)
删除迁移任务
调用该接口删除迁移任务。
正在运行的任务不允许删除,如果删除会返回失败;若要删除,请先行暂停任务。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
CompletableFuture<ListApiVersionsResponse> |
listApiVersionsAsync(ListApiVersionsRequest request)
查询API版本信息列表
查询对象存储迁移服务的API版本信息。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<ListApiVersionsRequest,ListApiVersionsResponse> |
listApiVersionsAsyncInvoker(ListApiVersionsRequest request)
查询API版本信息列表
查询对象存储迁移服务的API版本信息。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
CompletableFuture<ListTasksResponse> |
listTasksAsync(ListTasksRequest request)
查询迁移任务列表
查询用户账户下的所有任务信息。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<ListTasksRequest,ListTasksResponse> |
listTasksAsyncInvoker(ListTasksRequest request)
查询迁移任务列表
查询用户账户下的所有任务信息。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
static ClientBuilder<OmsAsyncClient> |
newBuilder() |
CompletableFuture<ShowApiInfoResponse> |
showApiInfoAsync(ShowApiInfoRequest request)
查询指定API版本信息
查询对象存储迁移服务指定API版本信息。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<ShowApiInfoRequest,ShowApiInfoResponse> |
showApiInfoAsyncInvoker(ShowApiInfoRequest request)
查询指定API版本信息
查询对象存储迁移服务指定API版本信息。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
CompletableFuture<ShowTaskResponse> |
showTaskAsync(ShowTaskRequest request)
查询指定ID的任务详情
查询指定ID的任务详情。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<ShowTaskRequest,ShowTaskResponse> |
showTaskAsyncInvoker(ShowTaskRequest request)
查询指定ID的任务详情
查询指定ID的任务详情。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
CompletableFuture<StartTaskResponse> |
startTaskAsync(StartTaskRequest request)
启动迁移任务
迁移任务暂停或失败后,调用该接口以启动任务。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<StartTaskRequest,StartTaskResponse> |
startTaskAsyncInvoker(StartTaskRequest request)
启动迁移任务
迁移任务暂停或失败后,调用该接口以启动任务。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
CompletableFuture<StopTaskResponse> |
stopTaskAsync(StopTaskRequest request)
暂停迁移任务
当迁移任务处于迁移中时,调用该接口停止任务。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<StopTaskRequest,StopTaskResponse> |
stopTaskAsyncInvoker(StopTaskRequest request)
暂停迁移任务
当迁移任务处于迁移中时,调用该接口停止任务。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
CompletableFuture<UpdateBandwidthPolicyResponse> |
updateBandwidthPolicyAsync(UpdateBandwidthPolicyRequest request)
更新任务带宽策略
当迁移任务未执行完成时,修改迁移任务的流量控制策略。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<UpdateBandwidthPolicyRequest,UpdateBandwidthPolicyResponse> |
updateBandwidthPolicyAsyncInvoker(UpdateBandwidthPolicyRequest request)
更新任务带宽策略
当迁移任务未执行完成时,修改迁移任务的流量控制策略。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
protected HcClient hcClient
public OmsAsyncClient(HcClient hcClient)
public static ClientBuilder<OmsAsyncClient> newBuilder()
public CompletableFuture<CreateSyncEventsResponse> createSyncEventsAsync(CreateSyncEventsRequest request)
CreateSyncEventsRequest - 请求对象public AsyncInvoker<CreateSyncEventsRequest,CreateSyncEventsResponse> createSyncEventsAsyncInvoker(CreateSyncEventsRequest request)
CreateSyncEventsRequest - 请求对象public CompletableFuture<CreateTaskResponse> createTaskAsync(CreateTaskRequest request)
CreateTaskRequest - 请求对象public AsyncInvoker<CreateTaskRequest,CreateTaskResponse> createTaskAsyncInvoker(CreateTaskRequest request)
CreateTaskRequest - 请求对象public CompletableFuture<DeleteTaskResponse> deleteTaskAsync(DeleteTaskRequest request)
DeleteTaskRequest - 请求对象public AsyncInvoker<DeleteTaskRequest,DeleteTaskResponse> deleteTaskAsyncInvoker(DeleteTaskRequest request)
DeleteTaskRequest - 请求对象public CompletableFuture<ListTasksResponse> listTasksAsync(ListTasksRequest request)
ListTasksRequest - 请求对象public AsyncInvoker<ListTasksRequest,ListTasksResponse> listTasksAsyncInvoker(ListTasksRequest request)
ListTasksRequest - 请求对象public CompletableFuture<ShowTaskResponse> showTaskAsync(ShowTaskRequest request)
ShowTaskRequest - 请求对象public AsyncInvoker<ShowTaskRequest,ShowTaskResponse> showTaskAsyncInvoker(ShowTaskRequest request)
ShowTaskRequest - 请求对象public CompletableFuture<StartTaskResponse> startTaskAsync(StartTaskRequest request)
StartTaskRequest - 请求对象public AsyncInvoker<StartTaskRequest,StartTaskResponse> startTaskAsyncInvoker(StartTaskRequest request)
StartTaskRequest - 请求对象public CompletableFuture<StopTaskResponse> stopTaskAsync(StopTaskRequest request)
StopTaskRequest - 请求对象public AsyncInvoker<StopTaskRequest,StopTaskResponse> stopTaskAsyncInvoker(StopTaskRequest request)
StopTaskRequest - 请求对象public CompletableFuture<UpdateBandwidthPolicyResponse> updateBandwidthPolicyAsync(UpdateBandwidthPolicyRequest request)
UpdateBandwidthPolicyRequest - 请求对象public AsyncInvoker<UpdateBandwidthPolicyRequest,UpdateBandwidthPolicyResponse> updateBandwidthPolicyAsyncInvoker(UpdateBandwidthPolicyRequest request)
UpdateBandwidthPolicyRequest - 请求对象public CompletableFuture<ListApiVersionsResponse> listApiVersionsAsync(ListApiVersionsRequest request)
ListApiVersionsRequest - 请求对象public AsyncInvoker<ListApiVersionsRequest,ListApiVersionsResponse> listApiVersionsAsyncInvoker(ListApiVersionsRequest request)
ListApiVersionsRequest - 请求对象public CompletableFuture<ShowApiInfoResponse> showApiInfoAsync(ShowApiInfoRequest request)
ShowApiInfoRequest - 请求对象public AsyncInvoker<ShowApiInfoRequest,ShowApiInfoResponse> showApiInfoAsyncInvoker(ShowApiInfoRequest request)
ShowApiInfoRequest - 请求对象Copyright © 2022. All rights reserved.