Skip to content

DeviceGroupProps

Properties for defining a DeviceGroup.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-iot-devicegroup

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkiot"
&alicloudroscdkiot.DeviceGroupProps {
    GroupName: interface{},
    GroupDesc: interface{},
    IotInstanceId: interface{},
    SuperGroupId: interface{},
}

Properties

Name Type Description
GroupName interface{} Property groupName: The name of the group.
GroupDesc interface{} Property groupDesc: The description of the group.
IotInstanceId interface{} Property iotInstanceId: Public instance does not pass this parameter;
SuperGroupId interface{} Property superGroupId: The ID of the parent group.

GroupNameRequired

GroupName interface{}
  • Type: interface{}

Property groupName: The name of the group.

The name can contain Chinese characters, English letters, digits, and underscores (_). The length must be 4 to 30 characters (a Chinese character counts as two characters).


GroupDescOptional

GroupDesc interface{}
  • Type: interface{}

Property groupDesc: The description of the group.

You can enter a description with up to 100 characters.


IotInstanceIdOptional

IotInstanceId interface{}
  • Type: interface{}

Property iotInstanceId: Public instance does not pass this parameter;

instance that you need to buy the incoming instance ID.


SuperGroupIdOptional

SuperGroupId interface{}
  • Type: interface{}

Property superGroupId: The ID of the parent group.

If you want to create a first-level group, do not enter this parameter.