DeviceGroupArgs

data class DeviceGroupArgs(val groupDesc: Output<String>? = null, val groupName: Output<String>? = null, val iotInstanceId: Output<String>? = null, val superGroupId: Output<String>? = null) : ConvertibleToJava<DeviceGroupArgs>

Provides a Iot Device Group resource. For information about Iot Device Group and how to use it, see What is Device Group.

NOTE: Available since v1.134.0.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.iot.DeviceGroup;
import com.pulumi.alicloud.iot.DeviceGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("tfexample");
var example = new DeviceGroup("example", DeviceGroupArgs.builder()
.groupName(name)
.build());
}
}

Import

Iot Device Group can be imported using the id, e.g.

$ pulumi import alicloud:iot/deviceGroup:DeviceGroup example <id>

Constructors

Link copied to clipboard
fun DeviceGroupArgs(groupDesc: Output<String>? = null, groupName: Output<String>? = null, iotInstanceId: Output<String>? = null, superGroupId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): DeviceGroupArgs

Properties

Link copied to clipboard
val groupDesc: Output<String>? = null

The GroupDesc of the device group.

Link copied to clipboard
val groupName: Output<String>? = null

The GroupName of the device group.

Link copied to clipboard
val iotInstanceId: Output<String>? = null

The id of the Iot Instance.

Link copied to clipboard
val superGroupId: Output<String>? = null

The id of the SuperGroup.