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< ? labels, Input<String, String> ?>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.
capacityProvisioningTypeProvisioning type of the byte capacity of the pool.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.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.storagePoolTypeType of the storage pool. For example, thezoneA 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 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
- 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-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
- 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