检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
outputs配置示例: outputs: ecs-eip: description: 云服务器公网IP value: get_attribute: - myecs - publicIps 父主题: 模板简介
ECS.SecurityGroup 字段说明 表1 字段说明 属性 是否必选 参数类型 描述 id 是 HuaweiCloud.VPC.SecurityGroup.Id 云服务器对应的安全组ID,会对创建云服务器中配置的网卡生效 取值说明:指定已有安全组的ID 取值约束:满足UUID规则,最大64位
使用建议:常用于格式化数据盘等场景 publicIp 否 CCE.PublicIP 创建节点的虚IP模型 取值说明:用户自定义,示例:{"eip":{"bandwidth:{"shareType":PER}, 5_sbgp"}} 取值约束:每个节点仅支持定义一个eip 使用建议:用户自定义,可参照
更新资源栈(UpdateStack) 更新资源栈的属性,该API可以根据用户给予的信息对资源栈的属性进行更新,可以更新资源栈的“description”、“enable_deletion_protection”、"enable_auto_rollback"、"agencies"四个属性中的一个或多个
使用建议:根据规格按需选择,参考ECS服务资料:https://support.huaweicloud.com/api-ecs/zh-cn_topic_0020212668.html volumeType 是 HuaweiCloud.EVS.Volume.Type.Name 云服务器数据盘对应的磁
"huaweicloud_vpc_eip" "myeip" { ... } resource "huaweicloud_compute_eip_associate" "associated" { public_ip = huaweicloud_vpc_eip.myeip.address
concat 在编写模板时,经常会使用到字符串拼接功能。例如,从虚拟机的结果中获取一个IP,从APP的结果中获取一个监听Port,并在模板的输出中打印出最终的、直观的访问http地址。 字符串拼接是一个内置函数,concat用于将描述字段转换成字符串并进行拼接,支持内嵌get_a
VPC.SecurityGroup 模型说明 安全组是逻辑上的分组,为同一个VPC内具有相同安全保护需求并相互信任的弹性云服务器提供访问策略。 模型属性 表1 模型定义属性说明 属性 是否必选 描述 name 否 安全组名称 参数类型:string 取值说明:用户自定义,例如my-securitygroup
template zip package is empty. 服务器内部错误,请联系管理员 请联系技术支持 400 SVCSTG.AOS.4005007 Sample template compress package only support zip format. 服务器内部错误,请联系管理员
description: 云服务器使用的镜像ID type: HuaweiCloud.ECS.Image.Id instance: default: 1 description: 创建云服务器数量 subnet: description: 云服务器子网ID
板,也可像通过git、svn等代码管理工具一样来管理不同版本的模板。通过模板的方式来管理应用和云服务,可以简化应用系统上云设计,轻松复制和搭建开发、测试、生产环境,确保应用系统可配置、可演进、可回溯。 父主题: 应用编排
ECS.ServerTags 字段说明 表1 字段说明 属性 是否必选 参数类型 描述 value 是 string 弹性云服务器标签的值 取值约束:最多可以添加10个标签,标签的value值只能包含大写字母(A~Z)、小写字母(a~z)、数字(0-9)、下划线(_)、中划线(-)、小数点(
description: The timeout of the function. The effective range is 3~300. label: Function type: integer xrole: description: The
description: The timeout of the function. The effective range is 3~300. label: Function type: integer xrole: description: The
计费方式 ECS(Elastic Cloud Server )弹性云服务器 huaweicloud_compute_instance 包周期和按需 EVS(Elastic Volume Service)云硬盘 huaweicloud_evs_volume 包周期和按需 EIP(Elastic
Extension使用 使用Extension注意: 1.在zip压缩包根目录下新建.extension文件夹 2.".extension"文件夹下新建后缀名为.rfs.json的扩展文件,当前只支持扩展功能写在单个文件中 父主题: Extension
description: The timeout of the function. The effective range is 3~300. label: Function type: integer xrole: description: The
description: The timeout of the function. The effective range is 3~300. label: Function type: integer xrole: description: The
description: The timeout of the function. The effective range is 3~300. label: Function type: integer xrole: description: The
version.basic", "hss.version.wtp"这几种 hostIds 否 弹性云服务器ID 参数类型:string数组 取值说明:字符串数组,元素为监听器后端的云服务器ID,如 ["8abbd7a9-c1f8-440d-96ff-376ee7382082","8