StoragePoolState class
Input properties used for looking up and filtering StoragePool resources.
Constructors
-
StoragePoolState({Input<
String?> ? activeDirectory, Input<bool?> ? allowAutoTiering, Input<double?> ? availableThroughputMibps, Input<String?> ? capacityGib, Input<String?> ? coldTierSizeUsedGib, Input<bool?> ? customPerformanceEnabled, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<Map< ? effectiveLabels, Input<String, String> ?>bool?> ? enableHotTierAutoResize, Input<String?> ? encryptionType, Input<String?> ? hotTierSizeGib, Input<String?> ? hotTierSizeUsedGib, Input<String?> ? kmsConfig, Input<Map< ? labels, Input<String, String> ?>bool?> ? ldapEnabled, Input<String?> ? location, Input<String?> ? mode, Input<String?> ? name, Input<String?> ? network, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? qosType, Input<String?> ? replicaZone, Input<String?> ? scaleTier, Input<String?> ? scaleType, Input<String?> ? serviceLevel, Input<String?> ? totalIops, Input<String?> ? totalThroughputMibps, Input<String?> ? type, Input<String?> ? volumeCapacityGib, Input<int?> ? volumeCount, Input<String?> ? zone}) -
Creates a new StoragePoolState.
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.availableThroughputMibpsAvailable throughput of the storage pool (in MiB/s).capacityGibCapacity of the storage pool (in GiB).coldTierSizeUsedGibTotal cold tier data rounded down to the nearest GiB used by the storage pool.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.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.enableHotTierAutoResizeFlag indicating that the hot-tier threshold will be auto-increased by 10% of the hot-tier when it hits 100%. Default is true.encryptionTypeReports if volumes in the pool are encrypted using a Google-managed encryption key or CMEK.hotTierSizeGibTotal hot tier capacity for the Storage Pool. It is applicable only to Flex service level.hotTierSizeUsedGibTotal hot tier data rounded down to the nearest GiB used by the storage pool.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.pulumiLabelsThe combination of labels configured directly on the resourceqosTypeQoS (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.volumeCapacityGibSize allocated to volumes in the storage pool (in GiB).volumeCountNumber of volume in the storage pool.zoneSpecifies the active zone for regional Flex pools.zoneandreplicaZonevalues can be swapped to initiate aconst -
StoragePoolState.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
-
availableThroughputMibps
→ Input<
double?> ? -
Available throughput of the storage pool (in MiB/s).
final
-
capacityGib
→ Input<
String?> ? -
Capacity of the storage pool (in GiB).
final
-
coldTierSizeUsedGib
→ Input<
String?> ? -
Total cold tier data rounded down to the nearest GiB used by the storage pool.
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
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
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
-
encryptionType
→ Input<
String?> ? -
Reports if volumes in the pool are encrypted using a Google-managed encryption key or CMEK.
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
-
hotTierSizeUsedGib
→ Input<
String?> ? -
Total hot tier data rounded down to the nearest GiB used by the storage pool.
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
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource
and default labels configured on the provider.
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 -
volumeCapacityGib
→ Input<
String?> ? -
Size allocated to volumes in the storage pool (in GiB).
final
-
volumeCount
→ Input<
int?> ? -
Number of volume in the storage pool.
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