powerflex_device_group_v2 (Resource)
This resource is used to manage Device Groups on PowerFlex Gen2 systems (5.0+). Device Groups allow logical grouping of devices for management.
Example Usage
/*
Copyright (c) 2024-2026 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
you may not use this file except in compliance with the License
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
# Commands to run this tf file : terraform init && terraform plan && terraform apply
# Create, Update, Delete is supported for this resource
# To import, check import.tf for more info
# protection_domain_id is required
# name is optional
# This resource is for PowerFlex Gen2 systems (5.0+)
# Example for creating a Device Group
resource "powerflex_device_group_v2" "create" {
name = "demo-device-group-01"
protection_domain_id = "202a046600000000"
}
output "device_group" {
value = powerflex_device_group_v2.create
}
Schema
Required
protection_domain_id(String) The ID of the protection domain.
Optional
name(String) The name of the device group.
Read-Only
id(String) The unique identifier of the device group.num_of_devices(Number) The number of devices in the device group.status(String) The status of the device group.usable_capacity_in_kb(Number) The usable capacity in KB.used_capacity_in_kb(Number) The used capacity in KB.