StoragePoolState class
Input properties used for looking up and filtering StoragePool resources.
Constructors
-
StoragePoolState({Input<
String?> ? capacityProvisioningType, Input<String?> ? creationTimestamp, Input<String?> ? deletionPolicy, Input<bool?> ? deletionProtection, Input<String?> ? description, Input<Map< ? effectiveLabels, Input<String, String> ?>String?> ? kind, Input<String?> ? labelFingerprint, Input<Map< ? labels, Input<String, String> ?>String?> ? name, Input<StoragePoolParams?> ? params, Input<String?> ? performanceProvisioningType, Input<String?> ? poolProvisionedCapacityGb, Input<String?> ? poolProvisionedIops, Input<String?> ? poolProvisionedThroughput, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>List< ? resourceStatuses, Input<StoragePoolResourceStatus> ?>List< ? statuses, Input<StoragePoolStatus> ?>String?> ? storagePoolType, Input<String?> ? zone}) -
Creates a new StoragePoolState.
capacityProvisioningTypeProvisioning type of the byte capacity of the pool.creationTimestampCreation timestamp in RFC3339 text format.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.deletionProtectionWhether Terraform will be prevented from destroying the StoragePool.descriptionA description of this resource. Provide this property when you create the resource.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.kindType of the resource.labelFingerprintThe fingerprint used for optimistic locking of this resource.labelsLabels to apply to this storage pool. These can be later modified by the setLabels method.nameName of the resource. Provided by the client when the resource is created.paramsAdditional params passed with the request, but not persisted as part of resource payloadperformanceProvisioningTypeProvisioning type of the performance-related parameters of the pool, such as throughput and IOPS.poolProvisionedCapacityGbSize, in GiB, of the storage pool. For more information about the size limits,poolProvisionedIopsProvisioned IOPS of the storage pool.poolProvisionedThroughputProvisioned throughput, in MB/s, of the storage pool.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourceresourceStatusesStatus information for the storage pool resource.statusesStatus information for the storage pool resource.storagePoolTypeType of the storage pool. For example, thezoneA reference to the zone where the storage pool resides.const -
StoragePoolState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
capacityProvisioningType
→ Input<
String?> ? -
Provisioning type of the byte capacity of the pool.
Possible values are:
STANDARD,ADVANCED.final -
creationTimestamp
→ Input<
String?> ? -
Creation timestamp in RFC3339 text format.
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
-
deletionProtection
→ Input<
bool?> ? -
Whether Terraform will be prevented from destroying the StoragePool.
When the field is set to true or unset in Terraform state, a
pulumi uporterraform destroythat would delete the StoragePool will fail. When the field is set to false, deleting the StoragePool is allowed.final -
description
→ Input<
String?> ? -
A description of this resource. Provide this property when you create the 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
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kind
→ Input<
String?> ? -
Type of the resource.
final
-
labelFingerprint
→ Input<
String?> ? -
The fingerprint used for optimistic locking of this resource.
Used internally during updates.
final
-
labels
→ Input<
Map< ?String, String> ?> -
Labels to apply to this storage pool. These can be later modified by the setLabels method.
final
-
name
→ Input<
String?> ? -
Name of the resource. Provided by the client when the resource is created.
The name must be 1-63 characters long, and comply with RFC1035.
Specifically, the name must be 1-63 characters long and match
the regular expression
a-z?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.final -
params
→ Input<
StoragePoolParams?> ? -
Additional params passed with the request, but not persisted as part of resource payload
Structure is documented below.
final
-
performanceProvisioningType
→ Input<
String?> ? -
Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
Possible values are:
STANDARD,ADVANCED.final -
poolProvisionedCapacityGb
→ Input<
String?> ? -
Size, in GiB, of the storage pool. For more information about the size limits,
see https://cloud.google.com/compute/docs/disks/storage-pools.
final
-
poolProvisionedIops
→ Input<
String?> ? -
Provisioned IOPS of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balanced.final -
poolProvisionedThroughput
→ Input<
String?> ? -
Provisioned throughput, in MB/s, of the storage pool.
Only relevant if the storage pool type is
hyperdisk-balancedorhyperdisk-throughput.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
-
resourceStatuses
→ Input<
List< ?StoragePoolResourceStatus> ?> -
Status information for the storage pool resource.
Structure is documented below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
statuses
→ Input<
List< ?StoragePoolStatus> ?> -
Status information for the storage pool resource.
Structure is documented below.
final
-
storagePoolType
→ Input<
String?> ? -
Type of the storage pool. For example, the
following are valid values:
final
-
zone
→ Input<
String?> ? -
A reference to the zone where the storage pool resides.
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