alicloud_iot_device_group
更新时间:
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
variable "name" {
  default = "tfexample"
}
resource "alicloud_iot_device_group" "example" {
  group_name = var.name
}
Argument Reference
The following arguments are supported:
group_desc- (Optional) The GroupDesc of the device group.group_name- (Required, ForceNew) The GroupName of the device group.iot_instance_id- (Optional) The id of the Iot Instance.super_group_id- (Optional, ForceNew) The id of the SuperGroup.
Attributes Reference
The following attributes are exported:
id- The resource ID in terraform of Device Group.
Import
Iot Device Group can be imported using the id, e.g.
$ terraform import alicloud_iot_device_group.example <id>
该文章对您有帮助吗?