Skip to content

GroupProps

Properties for defining a Group.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-group

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkthreatdetection"
&alicloudroscdkthreatdetection.GroupProps {
    GroupId: interface{},
    GroupName: interface{},
}

Properties

Name Type Description
GroupId interface{} Property groupId: The ID of the server group for which you want to add to or remove servers.
GroupName interface{} Property groupName: The name of the server group that you want to create or the server group for which you want to add or remove a server.

GroupIdOptional

GroupId interface{}
  • Type: interface{}

Property groupId: The ID of the server group for which you want to add to or remove servers.

To modify the mapping between an asset and an asset group, you must provide the ID of the asset group. You can call the DescribeAllGroups to query the IDs of asset groups. If you do not configure this parameter when you call this operation, an asset group is created.


GroupNameOptional

GroupName interface{}
  • Type: interface{}

Property groupName: The name of the server group that you want to create or the server group for which you want to add or remove a server.

To modify the mapping between a server and a server group, you must provide the name of the server group. You can call the DescribeAllGroups operation to query the names of server groups. If you do not configure GroupID when you call this operation, a server group is created. In this case, you must configure GroupName.