Class VolumeArgs
Inherited Members
Namespace: Pulumi.OpenStack.BlockStorage
Assembly: Pulumi.OpenStack.dll
Syntax
public sealed class VolumeArgs : ResourceArgs
Constructors
View SourceVolumeArgs()
Declaration
public VolumeArgs()
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> |
ConsistencyGroupId
The consistency group to place the volume in.
Declaration
public Input<string> ConsistencyGroupId { 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> |
EnableOnlineResize
When this option is set it allows extending attached volumes. Note: updating size of an attached volume requires Cinder support for version 3.42 and a compatible storage driver.
Declaration
public Input<bool> EnableOnlineResize { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
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> |
Multiattach
Allow the volume to be attached to more than one Compute instance.
Declaration
public Input<bool> Multiattach { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
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> |
SchedulerHints
Provide the Cinder scheduler with hints on where to instantiate a volume in the OpenStack cloud. The available hints are described below.
Declaration
public InputList<VolumeSchedulerHintArgs> SchedulerHints { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<VolumeSchedulerHintArgs> |
Size
The size of the volume to create (in gigabytes).
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> |
SourceReplica
The volume ID to replicate with.
Declaration
public Input<string> SourceReplica { 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> |