Class VolumeV1Args
Inherited Members
Namespace: Pulumi.OpenStack.BlockStorage
Assembly: Pulumi.OpenStack.dll
Syntax
public sealed class VolumeV1Args : ResourceArgs
Constructors
View SourceVolumeV1Args()
Declaration
public VolumeV1Args()
Properties
View SourceAvailabilityZone
The availability zone for the volume. Changing this creates a new volume.
Declaration
public Input<string> AvailabilityZone { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
A description of the volume. Changing this updates the volume's description.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ImageId
The image ID from which to create the volume. Changing this creates a new volume.
Declaration
public Input<string> ImageId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Metadata
Metadata key/value pairs to associate with the volume. Changing this updates the existing volume metadata.
Declaration
public InputMap<object> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
Name
A unique name for the volume. Changing this updates the volume's name.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Region
The region in which to create the volume. If
omitted, the region argument of the provider is used. Changing this
creates a new volume.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Size
The size of the volume to create (in gigabytes). Changing this creates a new volume.
Declaration
public Input<int> Size { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SnapshotId
The snapshot ID from which to create the volume. Changing this creates a new volume.
Declaration
public Input<string> SnapshotId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourceVolId
The volume ID from which to create the volume. Changing this creates a new volume.
Declaration
public Input<string> SourceVolId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
VolumeType
The type of volume to create. Changing this creates a new volume.
Declaration
public Input<string> VolumeType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |