DiskArgs class
The set of arguments for Disk. The set of arguments for Disk.
Constructors
-
DiskArgs({required Input<
String> availabilityZone, Input<String?> ? name, Input<String?> ? region, required Input<int> sizeInGb, Input<Map< ? tags})String, String> ?> -
Creates a new DiskArgs.
availabilityZoneAvailability Zone in which to create the disk.nameName of the disk. Must begin with an alphabetic character and contain only alphanumeric characters, underscores, hyphens, and dots.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.sizeInGbSize of the disk in GB.tagsMap of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.const -
DiskArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
availabilityZone
→ Input<
String> -
Availability Zone in which to create the disk.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
Name of the disk. Must begin with an alphabetic character and contain only alphanumeric characters, underscores, hyphens, and dots.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sizeInGb
→ Input<
int> -
Size of the disk in GB.
final
-
Map of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.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