The Automation API is now available. No CLI. No human-in-the-loop. Just your code. Learn More

GetVolume

Using GetVolume

function getVolume(args: GetVolumeArgs, opts?: InvokeOptions): Promise<GetVolumeResult>
def get_volume(id: Optional[str] = None, name: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetVolumeResult
func LookupVolume(ctx *Context, args *LookupVolumeArgs, opts ...InvokeOption) (*LookupVolumeResult, error)

Note: This function is named LookupVolume in the Go SDK.

public static class GetVolume {
    public static Task<GetVolumeResult> InvokeAsync(GetVolumeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Id string

The unique identifier for the volume.

Name string

The name of the volume.

Id string

The unique identifier for the volume.

Name string

The name of the volume.

id string

The unique identifier for the volume.

name string

The name of the volume.

id str

The unique identifier for the volume.

name str

The name of the volume.

GetVolume Result

The following output properties are available:

Bootable bool

if is bootable or not.

CreatedAt string

The date of the creation of the volume.

MountPoint string

The mount point of the volume.

SizeGb int

The size of the volume.

Id string

The unique identifier for the volume.

Name string

Name of the volume.

Bootable bool

if is bootable or not.

CreatedAt string

The date of the creation of the volume.

MountPoint string

The mount point of the volume.

SizeGb int

The size of the volume.

Id string

The unique identifier for the volume.

Name string

Name of the volume.

bootable boolean

if is bootable or not.

createdAt string

The date of the creation of the volume.

mountPoint string

The mount point of the volume.

sizeGb number

The size of the volume.

id string

The unique identifier for the volume.

name string

Name of the volume.

bootable bool

if is bootable or not.

created_at str

The date of the creation of the volume.

mount_point str

The mount point of the volume.

size_gb int

The size of the volume.

id str

The unique identifier for the volume.

name str

Name of the volume.

Package Details

Repository
https://github.com/pulumi/pulumi-civo
License
Apache-2.0
Notes
This Pulumi package is based on the civo Terraform Provider.