Class VolumeArgs
Inherited Members
Namespace: Pulumi.DigitalOcean
Assembly: Pulumi.DigitalOcean.dll
Syntax
public sealed class VolumeArgs : ResourceArgs
Constructors
View SourceVolumeArgs()
Declaration
public VolumeArgs()
Properties
View SourceDescription
A free-form text field up to a limit of 1024 bytes to describe a block storage volume.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
FilesystemType
Filesystem type (xfs or ext4) for the block storage volume.
Declaration
public Input<string> FilesystemType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InitialFilesystemLabel
Initial filesystem label for the block storage volume.
Declaration
public Input<string> InitialFilesystemLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InitialFilesystemType
Initial filesystem type (xfs or ext4) for the block storage volume.
Declaration
public Input<string> InitialFilesystemType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
A name for the block storage volume. Must be lowercase and be composed only of numbers, letters and "-", up to a limit of 64 characters.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Region
The region that the block storage volume will be created in.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Size
The size of the block storage volume in GiB. If updated, can only be expanded.
Declaration
public Input<int> Size { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SnapshotId
The ID of an existing volume snapshot from which the new volume will be created. If supplied, the region and size will be limitied on creation to that of the referenced snapshot
Declaration
public Input<string> SnapshotId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A list of the tags to be applied to this Volume.
Declaration
public InputList<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |