全部文档
当前文档

暂无内容

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

文档中心

ksyun_volume

最近更新时间:2025-03-18 20:10:12

提供EBS卷资源。

使用示例

resource "ksyun_volume" "default" {
  volume_name="test"
  volume_type="SSD3.0"
  size=15
  charge_type="Daily"
  availability_zone="cn-shanghai-3a"
  volume_desc="test"
}

Argument Reference

The following arguments are supported:

  • volume_name - (Optional) The name of the volume, which contains 2 to 50 characters and supports only alphanumeric characters, hyphens (-), and underscores (_).

  • volume_type - (Required) The type of the volume to create. Valid values are SSD3.0 and EHDD.

  • size - (Required) The size of the volume in GB.

  • charge_type - (Required) The charging type of the volume. Valid values are Monthly, Daily, and HourlyInstantSettlement.

  • volume_desc - (Optional) The description of the volume.

参数参考

支持以下参数:

  • volume_name - (可选)卷的名称,包含2到50个字符,只支持字母数字字符、连字符(-)和下划线(_)。

  • volume_type - (必选)要创建的卷的类型。有效值为 SSD3.0 和 EHDD。

  • size - (必选)卷的大小,以GB为单位。

  • charge_type - (必选)卷的计费类型。有效值为 MonthlyDailyHourlyInstantSettlement

  • volume_desc - (可选)卷的描述。

文档导读
纯净模式常规模式

纯净模式

点击可全屏预览文档内容