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<String, String>?>? effectiveLabels, Input<bool?>? enableHotTierAutoResize, Input<String?>? encryptionType, Input<String?>? hotTierSizeGib, Input<String?>? hotTierSizeUsedGib, Input<String?>? kmsConfig, Input<Map<String, String>?>? labels, Input<bool?>? ldapEnabled, Input<String?>? location, Input<String?>? mode, Input<String?>? name, Input<String?>? network, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<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. activeDirectory Specifies the Active Directory policy to be used. Format: projects/{{project}}/locations/{{location}}/activeDirectories/{{name}}. allowAutoTiering Optional. True if the storage pool supports Auto Tiering enabled volumes. Default is false. availableThroughputMibps Available throughput of the storage pool (in MiB/s). capacityGib Capacity of the storage pool (in GiB). coldTierSizeUsedGib Total cold tier data rounded down to the nearest GiB used by the storage pool. customPerformanceEnabled Optional. True if using Independent Scaling of capacity and performance (Hyperdisk). Default is false. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional description of this resource. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. enableHotTierAutoResize Flag indicating that the hot-tier threshold will be auto-increased by 10% of the hot-tier when it hits 100%. Default is true. encryptionType Reports if volumes in the pool are encrypted using a Google-managed encryption key or CMEK. hotTierSizeGib Total hot tier capacity for the Storage Pool. It is applicable only to Flex service level. hotTierSizeUsedGib Total hot tier data rounded down to the nearest GiB used by the storage pool. kmsConfig Specifies the CMEK policy to be used for volume encryption. Format: projects/{{project}}/locations/{{location}}/kmsConfigs/{{name}}. labels Labels as key value pairs. Example: { "owner": "Bob", "department": "finance", "purpose": "testing" }. ldapEnabled When enabled, the volumes uses Active Directory as LDAP name service for UID/GID lookups. Required to enable extended group support for NFSv3, location Name of the location. For zonal Flex pools specify a zone name, in all other cases a region name. mode Mode of the storage pool. name The resource name of the storage pool. Needs to be unique per location/region. network VPC network name with format: projects/{{project}}/global/networks/{{network}} project The ID of the project in which the resource belongs. pulumiLabels The combination of labels configured directly on the resource qosType QoS (Quality of Service) type of the storage pool. replicaZone Specifies the replica zone for regional Flex pools. zone and replicaZone values can be swapped to initiate a scaleTier (Optional, Beta, Deprecated) scaleType The scale type of the storage pool. Defaults to SCALE_TYPE_DEFAULT if not specified. serviceLevel Service level of the storage pool. totalIops Optional. Custom Performance Total IOPS of the pool If not provided, it will be calculated based on the totalThroughputMibps totalThroughputMibps Optional. Custom Performance Total Throughput of the pool (in MiB/s). type Type of the storage pool. volumeCapacityGib Size allocated to volumes in the storage pool (in GiB). volumeCount Number of volume in the storage pool. zone Specifies the active zone for regional Flex pools. zone and replicaZone values can be swapped to initiate a
const
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. zone and replicaZone values 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 scaleTier is not specified during creation, this defaults to SCALE_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_DEFAULT if 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. zone and replicaZone values can be swapped to initiate a zone switch. If you want to create a zonal Flex pool, specify a zone name for location and omit zone.
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