GetVolume
Using GetVolume
function getVolume(args: GetVolumeArgs, opts?: InvokeOptions): Promise<GetVolumeResult>function get_volume(id=None, location=None, name=None, selector=None, server=None, with_selector=None, with_statuses=None, opts=None)func LookupVolume(ctx *Context, args *LookupVolumeArgs, opts ...InvokeOption) (*LookupVolumeResult, error)Note: This function is named
LookupVolumein the Go SDK.
public static class GetVolume {
public static Task<GetVolumeResult> InvokeAsync(GetVolumeArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetVolume Result
The following output properties are available:
- Labels Dictionary<string, object>
- Linux
Device string - Name string
- Size int
- Id int
- Location string
- Selector string
- Server string
- With
Selector string - With
Statuses List<string>
Package Details
- Repository
- https://github.com/pulumi/pulumi-hcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
hcloudTerraform Provider.