StoragePoolArgs class
The set of arguments for StoragePool. The set of arguments for StoragePool.
Constructors
-
StoragePoolArgs({Input<
String?> ? activeDirectory, Input<bool?> ? allowAutoTiering, required Input<String> capacityGib, Input<bool?> ? customPerformanceEnabled, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<bool?> ? enableHotTierAutoResize, Input<String?> ? hotTierSizeGib, Input<String?> ? kmsConfig, Input<Map< ? labels, Input<String, String> ?>bool?> ? ldapEnabled, required Input<String> location, Input<String?> ? mode, Input<String?> ? name, required Input<String> network, Input<String?> ? project, Input<String?> ? qosType, Input<String?> ? replicaZone, Input<String?> ? scaleTier, Input<String?> ? scaleType, required Input<String> serviceLevel, Input<String?> ? totalIops, Input<String?> ? totalThroughputMibps, Input<String?> ? type, Input<String?> ? zone}) -
Creates a new StoragePoolArgs.
activeDirectorySpecifies the Active Directory policy to be used. Format:projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}.allowAutoTieringOptional. True if the storage pool supports Auto Tiering enabled volumes. Default is false.capacityGibCapacity of the storage pool (in GiB).customPerformanceEnabledOptional. True if using Independent Scaling of capacity and performance (Hyperdisk). Default is false.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionAn optional description of this resource.enableHotTierAutoResizeFlag indicating that the hot-tier threshold will be auto-increased by 10% of the hot-tier when it hits 100%. Default is true.hotTierSizeGibTotal hot tier capacity for the Storage Pool. It is applicable only to Flex service level.kmsConfigSpecifies the CMEK policy to be used for volume encryption. Format:projects/{{project}}/locations/{{location}}/kmsConfigs/{{name}}.labelsLabels as key value pairs. Example:{ "owner": "Bob", "department": "finance", "purpose": "testing" }.ldapEnabledWhen enabled, the volumes uses Active Directory as LDAP name service for UID/GID lookups. Required to enable extended group support for NFSv3,locationName of the location. For zonal Flex pools specify a zone name, in all other cases a region name.modeMode of the storage pool.nameThe resource name of the storage pool. Needs to be unique per location/region.networkVPC network name with format:projects/{{project}}/global/networks/{{network}}projectThe ID of the project in which the resource belongs.qosTypeQoS (Quality of Service) type of the storage pool.replicaZoneSpecifies the replica zone for regional Flex pools.zoneandreplicaZonevalues can be swapped to initiate ascaleTier(Optional, Beta, Deprecated)scaleTypeThe scale type of the storage pool. Defaults toSCALE_TYPE_DEFAULTif not specified.serviceLevelService level of the storage pool.totalIopsOptional. Custom Performance Total IOPS of the pool If not provided, it will be calculated based on the totalThroughputMibpstotalThroughputMibpsOptional. Custom Performance Total Throughput of the pool (in MiB/s).typeType of the storage pool.zoneSpecifies the active zone for regional Flex pools.zoneandreplicaZonevalues can be swapped to initiate aconst -
StoragePoolArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
activeDirectory
→ Input<
String?> ? -
Specifies the Active Directory policy to be used. Format:
projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}. The policy needs to be in the same location as the storage pool.final -
allowAutoTiering
→ Input<
bool?> ? -
Optional. True if the storage pool supports Auto Tiering enabled volumes. Default is false.
Auto-tiering can be enabled after storage pool creation but it can't be disabled once enabled.
final
-
capacityGib
→ Input<
String> -
Capacity of the storage pool (in GiB).
final
-
customPerformanceEnabled
→ Input<
bool?> ? -
Optional. True if using Independent Scaling of capacity and performance (Hyperdisk). Default is false.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
description
→ Input<
String?> ? -
An optional description of this resource.
final
-
enableHotTierAutoResize
→ Input<
bool?> ? -
Flag indicating that the hot-tier threshold will be auto-increased by 10% of the hot-tier when it hits 100%. Default is true.
The increment will kick in only if the new size after increment is still less than or equal to storage pool size.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hotTierSizeGib
→ Input<
String?> ? -
Total hot tier capacity for the Storage Pool. It is applicable only to Flex service level.
It should be less than the minimum storage pool size and cannot be more than the current storage pool size. It cannot be decreased once set.
final
-
kmsConfig
→ Input<
String?> ? -
Specifies the CMEK policy to be used for volume encryption. Format:
projects/{{project}}/locations/{{location}}/kmsConfigs/{{name}}. The policy needs to be in the same location as the storage pool.final -
labels
→ Input<
Map< ?String, String> ?> -
Labels as key value pairs. Example:
{ "owner": "Bob", "department": "finance", "purpose": "testing" }.final -
ldapEnabled
→ Input<
bool?> ? -
When enabled, the volumes uses Active Directory as LDAP name service for UID/GID lookups. Required to enable extended group support for NFSv3,
using security identifiers for NFSv4.1 or principal names for kerberized NFSv4.1.
final
-
location
→ Input<
String> -
Name of the location. For zonal Flex pools specify a zone name, in all other cases a region name.
final
-
mode
→ Input<
String?> ? -
Mode of the storage pool.
The operational mode of the storage pool. ONTAP mode enables operations
via ONTAP Mode APIs, while DEFAULT mode enables operations via NetApp Volumes APIs.
If not specified during creation, the mode defaults to DEFAULT.
Possible values are:
MODE_UNSPECIFIED,DEFAULT,ONTAP.final -
name
→ Input<
String?> ? -
The resource name of the storage pool. Needs to be unique per location/region.
final
-
network
→ Input<
String> -
VPC network name with format:
projects/{{project}}/global/networks/{{network}}final -
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
qosType
→ Input<
String?> ? -
QoS (Quality of Service) type of the storage pool.
Possible values are: AUTO, MANUAL.
Possible values are:
QOS_TYPE_UNSPECIFIED,AUTO,MANUAL.final -
replicaZone
→ Input<
String?> ? -
Specifies the replica zone for regional Flex pools.
zoneandreplicaZonevalues can be swapped to initiate a zone switch.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scaleTier
→ Input<
String?> ? -
(Optional, Beta, Deprecated)
The effective scale tier of the storage pool. If
scaleTieris not specified during creation, this defaults toSCALE_TIER_STANDARD. Possible values are:SCALE_TIER_UNSPECIFIED,SCALE_TIER_STANDARD,SCALE_TIER_ENTERPRISE.final -
scaleType
→ Input<
String?> ? -
The scale type of the storage pool. Defaults to
SCALE_TYPE_DEFAULTif not specified. Possible values are:SCALE_TYPE_UNSPECIFIED,SCALE_TYPE_DEFAULT,SCALE_TYPE_SCALEOUT.final -
serviceLevel
→ Input<
String> -
Service level of the storage pool.
Possible values are:
PREMIUM,EXTREME,STANDARD,FLEX.final -
totalIops
→ Input<
String?> ? -
Optional. Custom Performance Total IOPS of the pool If not provided, it will be calculated based on the totalThroughputMibps
final
-
totalThroughputMibps
→ Input<
String?> ? -
Optional. Custom Performance Total Throughput of the pool (in MiB/s).
final
-
type
→ Input<
String?> ? -
Type of the storage pool.
This field is used to control whether the pool supports FILE based volumes only or UNIFIED (both FILE and BLOCK) volumes.
If not specified during creation, it defaults to FILE.
Possible values are:
STORAGE_POOL_TYPE_UNSPECIFIED,FILE,UNIFIED.final -
zone
→ Input<
String?> ? -
Specifies the active zone for regional Flex pools.
zoneandreplicaZonevalues can be swapped to initiate a zone switch. If you want to create a zonal Flex pool, specify a zone name forlocationand omitzone.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited