Class GetVolumeV3
Inheritance
System.Object
GetVolumeV3
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.OpenStack.BlockStorage
Assembly: Pulumi.OpenStack.dll
Syntax
public static class GetVolumeV3
Methods
View SourceInvokeAsync(GetVolumeV3Args, InvokeOptions)
Use this data source to get information about an existing volume.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using OpenStack = Pulumi.OpenStack;
class MyStack : Stack
{
public MyStack()
{
var volume1 = Output.Create(OpenStack.BlockStorage.GetVolumeV3.InvokeAsync(new OpenStack.BlockStorage.GetVolumeV3Args
{
Name = "volume_1",
}));
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetVolumeV3Result> InvokeAsync(GetVolumeV3Args args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetVolumeV3Args | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetVolumeV3Result> |