Class VolumeV2Args
Inherited Members
Namespace: Pulumi.OpenStack.BlockStorage
Assembly: Pulumi.OpenStack.dll
Syntax
public sealed class VolumeV2Args : ResourceArgs
Constructors
View SourceVolumeV2Args()
Declaration
public VolumeV2Args()
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> |
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> |
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<VolumeV2SchedulerHintArgs> SchedulerHints { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<VolumeV2SchedulerHintArgs> |
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> |
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> |