一、描述
CFS 文件系统自动快照策略绑定
二、示例
resource "tencentcloud_cfs_auto_snapshot_policy_attachment" "auto_snapshot_policy_attachment" { availability_zone = "ap-guangzhou-6" auto_snapshot_policy_id = tencentcloud_cfs_auto_snapshot_policy.auto_snapshot_policy.id file_system_ids = tencentcloud_cfs_file_system.cfs_file_system.id}
三、参数说明
| 类型 | 名称 | 数据类型 | 说明 |
| 必填 | region | string | 地域,如:ap-guangzhou,默认使用 provider 中定义的 region 也可以在 resource 中指定地域,覆盖默认设置 |
| 必填 | auto_snapshot_policy_id | string | 快照策略ID |
| 必填 | file_system_ids | string | 文件系统列表 |
| 可选 | availability_zone | string | 可用区 |
| 可选 | count | int | 资源数量,默认为 1 如果为 0 则不创建资源 |
| 可选 | activity_id | int | 计费活动 ID,保留字段 |
| 生成 | id | string | 资源实例 ID |
| 生成 | create_time | string | 资源创建时间 |