Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

getVolume

Using getVolume

function getVolume(args: GetVolumeArgs, opts?: InvokeOptions): Promise<GetVolumeResult>
def get_volume(id: Optional[str] = None,
               name: Optional[str] = None,
               region: 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.
Region string
Id string
The unique identifier for the volume.
Name string
The name of the volume.
Region string
id string
The unique identifier for the volume.
name string
The name of the volume.
region string
id str
The unique identifier for the volume.
name str
The name of the volume.
region str

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.
Region string
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.
Region string
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.
region string
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.
region str

Package Details

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