public class DeleteHybridMonitorTaskRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
namespace
The name of the namespace.
|
String |
regionId |
String |
targetUserId
The ID of the member account.
|
String |
taskId
The ID of the metric import task.
|
| 构造器和说明 |
|---|
DeleteHybridMonitorTaskRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DeleteHybridMonitorTaskRequest |
build(Map<String,?> map) |
String |
getNamespace() |
String |
getRegionId() |
String |
getTargetUserId() |
String |
getTaskId() |
DeleteHybridMonitorTaskRequest |
setNamespace(String namespace) |
DeleteHybridMonitorTaskRequest |
setRegionId(String regionId) |
DeleteHybridMonitorTaskRequest |
setTargetUserId(String targetUserId) |
DeleteHybridMonitorTaskRequest |
setTaskId(String taskId) |
@NameInMap(value="Namespace") public String namespace
The name of the namespace.
The name can contain uppercase letters, lowercase letters, digits, and hyphens (-).
> This parameter is required only if you call this operation to delete metric import tasks for Alibaba Cloud services. In this case, the `TaskType` parameter is set to `aliyun_fc`.
@NameInMap(value="RegionId") public String regionId
@NameInMap(value="TargetUserId") public String targetUserId
The ID of the member account.
> This parameter is required only if you use a management account to call this operation to query metric import tasks that belong to a member in a resource directory. In this case, the `TaskType` parameter is set to `aliyun_fc`.
@NameInMap(value="TaskId") public String taskId
The ID of the metric import task.
For information about how to obtain the ID of a metric import task, see [DescribeHybridMonitorTaskList](~~428624~~).
> This parameter is required only if you call this operation to delete metrics for the logs that are imported from Log Service. In this case, the `TaskType` parameter is set to `aliyun_sls`.
public static DeleteHybridMonitorTaskRequest build(Map<String,?> map) throws Exception
Exceptionpublic DeleteHybridMonitorTaskRequest setNamespace(String namespace)
public String getNamespace()
public DeleteHybridMonitorTaskRequest setRegionId(String regionId)
public String getRegionId()
public DeleteHybridMonitorTaskRequest setTargetUserId(String targetUserId)
public String getTargetUserId()
public DeleteHybridMonitorTaskRequest setTaskId(String taskId)
public String getTaskId()
Copyright © 2024. All rights reserved.