全部文档
当前文档

暂无内容

如果没有找到您期望的内容,请尝试其他搜索词

文档中心

ksyun_volumes

最近更新时间:2019-12-20 17:36:18

This data source provides a list of volume resources based on the availability zone.

Example Usage

# Get volumes
data "ksyun_volumes" "default" {
  output_file="output_result"
  ids=[]
  volume_category=""
  volume_status=""
  volume_type=""
  availability_zone=""
}

Argument Reference

The following arguments are supported:

  • ids - (Optional) A list of volume IDs. If this parameter is not provided, all volumes are queried.
  • volume_category - (Optional) The category of volumes. Valid values are system (system disk) and data (data disk).
  • volume_status - (Optional) The status of volumes. Valid values are creating, available,attaching, in-use, detaching, extending, deleting, error, and recycling.
  • volume_type - (Optional) The type of volumes. Valid values are SSD and SATA.
  • output_file - (Optional) The name of the file to store data source results output by executing terraform plan.
文档导读
纯净模式常规模式

纯净模式

点击可全屏预览文档内容
文档反馈