Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 772 Bytes

volume.html.markdown

File metadata and controls

34 lines (25 loc) · 772 Bytes
layout page_title sidebar_current description
cloudstack
Cloudstack: cloudstack_volume
docs-cloudstack-cloudstack_volume
Gets information about cloudstack volume.

cloudstack_volume

Use this datasource to get information about a volume for use in other resources.

Example Usage

  data "cloudstack_volume" "volume-data-source"{
    filter{
    name = "name"
    value="TestVolume"
    }
  }

Argument Reference

  • filter - (Required) One or more name/value pairs to filter off of. You can apply filters on any exported attributes.

Attributes Reference

The following attributes are exported:

  • name - Name of the disk volume.
  • disk_offering_id - ID of the disk offering.
  • zone_id - ID of the availability zone.