This document version is no longer actively maintained.
The site that you are currently viewing is an archived snapshot.
For up-to-date documentation, see the latest version.
powerstore_volumegroup (Data Source)
VolumeGroup DataSource.
Note: Only one of
name
orid
can be provided at a time.
Example Usage
# commands to run this tf file : terraform init && terraform apply --auto-approve
# This datasource reads volume groups either by id or name where user can provide a value to any one of them
# If it is a empty datsource block , then it will read all the volume groups
# If id or name is provided then it reads a particular volume group with that id or name
# Only one of the attribute can be provided among id and name
data "powerstore_volumegroup" "test1" {
name = "test_volume_group1"
}
output "volumeGroupResult" {
value = data.powerstore_volumegroup.test1.volume_groups
}
Schema
Optional
id
(String) Unique identifier of the volume group. Conflicts withname
.name
(String) Volume group name. Conflicts withid
.
Read-Only
volume_groups
(Attributes List) List of volume groups. (see below for nested schema)
Nested Schema for volume_groups
Read-Only:
creation_timestamp
(String) The time at which the volume group was created.description
(String) Volume group description.id
(String) Unique identifier of the volume group.is_importing
(Boolean) Indicates whether the volume group is being imported.is_protectable
(Boolean) This is a derived field that is set internally.is_replication_destination
(Boolean) Indicates whether this volume group is a replication destination.is_write_order_consistent
(Boolean) For a primary or a clone volume group, this property determines whether snapshot sets of the group will be write order consistent.location_history
(Attributes List) Storage resource location history. (see below for nested schema)migration_session
(Object) Properties of a migration session. (see below for nested schema)migration_session_id
(String) Unique identifier of the migration session assigned to the volume group when it is part of a migration activity.name
(String) Volume group name.placement_rule
(String) This is set during creation, and determines resource balancer recommendations.protection_data
(Object) Specifies the ProtectionData associated with a volume group. (see below for nested schema)protection_policy
(Object) Specifies the Protection Policy associated with a volume group. (see below for nested schema)protection_policy_id
(String) Unique identifier of the protection policy assigned to the volume group.type
(String) Type of volume.type_l10n
(String) Localized message string corresponding to typevolumes
(Attributes List) List of the volumes that are associated with this volume_group. (see below for nested schema)
Nested Schema for volume_groups.location_history
Read-Only:
from_appliance_id
(String) Unique identifier of the appliance from which the volume was relocated.to_appliance_id
(String) Unique identifier of the appliance to which the volume was relocated.
Nested Schema for volume_groups.migration_session
Read-Only:
id
(String)name
(String)
Nested Schema for volume_groups.protection_data
Read-Only:
creator_type
(String)expiration_timestamp
(String)source_id
(String)
Nested Schema for volume_groups.protection_policy
Read-Only:
description
(String)id
(String)name
(String)
Nested Schema for volume_groups.volumes
Read-Only:
description
(String) Description of the volume.id
(String) Unique identifier of the volume instance.name
(String) Name of the volume.