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