StoragePoolArgs class

The set of arguments for StoragePool. The set of arguments for StoragePool.

Constructors

StoragePoolArgs({Input<String?>? capacityProvisioningType, Input<String?>? deletionPolicy, Input<bool?>? deletionProtection, Input<String?>? description, Input<Map<String, String>?>? labels, Input<String?>? name, Input<StoragePoolParams?>? params, Input<String?>? performanceProvisioningType, required Input<String> poolProvisionedCapacityGb, Input<String?>? poolProvisionedIops, required Input<String> poolProvisionedThroughput, Input<String?>? project, required Input<String> storagePoolType, Input<String?>? zone})
Creates a new StoragePoolArgs. capacityProvisioningType Provisioning type of the byte capacity of the pool. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. deletionProtection Whether Terraform will be prevented from destroying the StoragePool. description A description of this resource. Provide this property when you create the resource. labels Labels to apply to this storage pool. These can be later modified by the setLabels method. name Name of the resource. Provided by the client when the resource is created. params Additional params passed with the request, but not persisted as part of resource payload performanceProvisioningType Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS. poolProvisionedCapacityGb Size, in GiB, of the storage pool. For more information about the size limits, poolProvisionedIops Provisioned IOPS of the storage pool. poolProvisionedThroughput Provisioned throughput, in MB/s, of the storage pool. project The ID of the project in which the resource belongs. storagePoolType Type of the storage pool. For example, the zone A reference to the zone where the storage pool resides.
const
StoragePoolArgs.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
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 up or terraform destroy that 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
hashCode → int
The hash code for this object.
no setterinherited
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-balanced or hyperdisk-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
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
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