public class CfgClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
CfgClient(Credential credential,
String region) |
CfgClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
CreateTaskFromTemplateResponse |
CreateTaskFromTemplate(CreateTaskFromTemplateRequest req)
从经验库创建演练
|
DeleteTaskResponse |
DeleteTask(DeleteTaskRequest req)
删除任务
|
DescribeTaskResponse |
DescribeTask(DescribeTaskRequest req)
查询任务
|
DescribeTaskExecuteLogsResponse |
DescribeTaskExecuteLogs(DescribeTaskExecuteLogsRequest req)
获取演练过程中的所有日志
|
DescribeTaskListResponse |
DescribeTaskList(DescribeTaskListRequest req)
查询任务列表
|
DescribeTemplateResponse |
DescribeTemplate(DescribeTemplateRequest req)
查询经验库
|
DescribeTemplateListResponse |
DescribeTemplateList(DescribeTemplateListRequest req)
查询经验库列表
|
ExecuteTaskResponse |
ExecuteTask(ExecuteTaskRequest req)
执行任务
|
ExecuteTaskInstanceResponse |
ExecuteTaskInstance(ExecuteTaskInstanceRequest req)
触发混沌演练任务的动作,对于实例进行演练操作
|
ModifyTaskRunStatusResponse |
ModifyTaskRunStatus(ModifyTaskRunStatusRequest req)
修改任务运行状态
|
call, callOctetStream, getClientProfile, getCredential, getRegion, internalRequest, retry, setClientProfile, setCredential, setRegion
public CfgClient(Credential credential, String region)
public CfgClient(Credential credential, String region, ClientProfile profile)
public CreateTaskFromTemplateResponse CreateTaskFromTemplate(CreateTaskFromTemplateRequest req) throws TencentCloudSDKException
req
- CreateTaskFromTemplateRequestTencentCloudSDKException
public DeleteTaskResponse DeleteTask(DeleteTaskRequest req) throws TencentCloudSDKException
req
- DeleteTaskRequestTencentCloudSDKException
public DescribeTaskResponse DescribeTask(DescribeTaskRequest req) throws TencentCloudSDKException
req
- DescribeTaskRequestTencentCloudSDKException
public DescribeTaskExecuteLogsResponse DescribeTaskExecuteLogs(DescribeTaskExecuteLogsRequest req) throws TencentCloudSDKException
req
- DescribeTaskExecuteLogsRequestTencentCloudSDKException
public DescribeTaskListResponse DescribeTaskList(DescribeTaskListRequest req) throws TencentCloudSDKException
req
- DescribeTaskListRequestTencentCloudSDKException
public DescribeTemplateResponse DescribeTemplate(DescribeTemplateRequest req) throws TencentCloudSDKException
req
- DescribeTemplateRequestTencentCloudSDKException
public DescribeTemplateListResponse DescribeTemplateList(DescribeTemplateListRequest req) throws TencentCloudSDKException
req
- DescribeTemplateListRequestTencentCloudSDKException
public ExecuteTaskResponse ExecuteTask(ExecuteTaskRequest req) throws TencentCloudSDKException
req
- ExecuteTaskRequestTencentCloudSDKException
public ExecuteTaskInstanceResponse ExecuteTaskInstance(ExecuteTaskInstanceRequest req) throws TencentCloudSDKException
req
- ExecuteTaskInstanceRequestTencentCloudSDKException
public ModifyTaskRunStatusResponse ModifyTaskRunStatus(ModifyTaskRunStatusRequest req) throws TencentCloudSDKException
req
- ModifyTaskRunStatusRequestTencentCloudSDKException
Copyright © 2022. All rights reserved.