public class CreateMonitorGroupByResourceGroupIdRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
List<String> |
contactGroupList
The alert contact groups.
|
Boolean |
enableInstallAgent
Specifies whether the CloudMonitor agent is automatically installed for the application group.
|
Boolean |
enableSubscribeEvent
Specifies whether the application group automatically subscribes to event notifications.
|
String |
regionId
The ID of the region where the resource group resides.
|
String |
resourceGroupId
The ID of the resource group.
|
String |
resourceGroupName
The name of the resource group.
|
| 构造器和说明 |
|---|
CreateMonitorGroupByResourceGroupIdRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateMonitorGroupByResourceGroupIdRequest |
build(Map<String,?> map) |
List<String> |
getContactGroupList() |
Boolean |
getEnableInstallAgent() |
Boolean |
getEnableSubscribeEvent() |
String |
getRegionId() |
String |
getResourceGroupId() |
String |
getResourceGroupName() |
CreateMonitorGroupByResourceGroupIdRequest |
setContactGroupList(List<String> contactGroupList) |
CreateMonitorGroupByResourceGroupIdRequest |
setEnableInstallAgent(Boolean enableInstallAgent) |
CreateMonitorGroupByResourceGroupIdRequest |
setEnableSubscribeEvent(Boolean enableSubscribeEvent) |
CreateMonitorGroupByResourceGroupIdRequest |
setRegionId(String regionId) |
CreateMonitorGroupByResourceGroupIdRequest |
setResourceGroupId(String resourceGroupId) |
CreateMonitorGroupByResourceGroupIdRequest |
setResourceGroupName(String resourceGroupName) |
@NameInMap(value="ContactGroupList") public List<String> contactGroupList
The alert contact groups. The alert notifications of the application group are sent to the alert contacts that belong to the specified alert contact groups.
An alert contact group can contain one or more alert contacts. For information about how to create alert contacts and alert contact groups, see [PutContact](~~114923~~) and [PutContactGroup](~~114929~~). For information about how to obtain alert contact groups, see [DescribeContactGroupList](~~114922~~).
@NameInMap(value="EnableInstallAgent") public Boolean enableInstallAgent
Specifies whether the CloudMonitor agent is automatically installed for the application group. CloudMonitor determines whether to automatically install the CloudMonitor agent for the hosts in an application group based on the value of this parameter. Valid values:
* true: The CloudMonitor agent is automatically installed.
* false (default): The CloudMonitor agent is not automatically installed.
@NameInMap(value="EnableSubscribeEvent") public Boolean enableSubscribeEvent
Specifies whether the application group automatically subscribes to event notifications. If events whose severity level is critical or warning occur on resources in an application group, CloudMonitor sends alert notifications. Valid values:
* true: The application group automatically subscribes to event notifications.
* false (default): The application group does not automatically subscribe to event notifications.
@NameInMap(value="RegionId") public String regionId
The ID of the region where the resource group resides.
For information about how to obtain the ID of the region where a resource group resides, see [GetResourceGroup](~~158866~~).
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group.
For information about how to obtain the ID of a resource group, see [ListResourceGroups](~~158855~~).
@NameInMap(value="ResourceGroupName") public String resourceGroupName
The name of the resource group.
For information about how to obtain the name of a resource group, see [ListResourceGroups](~~158855~~).
public CreateMonitorGroupByResourceGroupIdRequest()
public static CreateMonitorGroupByResourceGroupIdRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateMonitorGroupByResourceGroupIdRequest setContactGroupList(List<String> contactGroupList)
public CreateMonitorGroupByResourceGroupIdRequest setEnableInstallAgent(Boolean enableInstallAgent)
public Boolean getEnableInstallAgent()
public CreateMonitorGroupByResourceGroupIdRequest setEnableSubscribeEvent(Boolean enableSubscribeEvent)
public Boolean getEnableSubscribeEvent()
public CreateMonitorGroupByResourceGroupIdRequest setRegionId(String regionId)
public String getRegionId()
public CreateMonitorGroupByResourceGroupIdRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateMonitorGroupByResourceGroupIdRequest setResourceGroupName(String resourceGroupName)
public String getResourceGroupName()
Copyright © 2024. All rights reserved.