更新时间:2023-12-13 GMT+08:00

HSS.Instance

模型说明

HSS.Instance元素用来创建企业主机安全服务(HSS)资源。

模型属性

表1 模型定义属性说明

属性

是否必选

描述

instances

订购数量

参数类型:integer

resourceSpecCode

用户购买云服务产品的资源规格

参数类型:string

默认值:hss.version.enterprise

取值约束:值包含"hss.version.enterprise", "hss.version.basic", "hss.version.wtp"这几种

hostIds

弹性云服务器ID

参数类型:string数组

取值说明:字符串数组,元素为监听器后端的云服务器ID,如 ["8abbd7a9-c1f8-440d-96ff-376ee7382082","855dfe22-3366-4d3e-a45c-3478d6d0954a"]

使用建议:建议连线到ECS.CloudServer对象以get_reference方式自动生成

关联关系

表2 关联关系说明

关系说明

关联节点

关联关系

ECS.CloudServer

输出

属性

参数类型

描述

resources

string

Hss Instance 资源

blueprint样例

tosca_definitions_version: huaweicloud_tosca_version_1_0
node_templates:
  hssi3q1p:
    type: HuaweiCloud.HSS.Instance
    properties:
      instances:
        get_input: hssi3q1p_instances
      resourceSpecCode: hss.version.enterprise
    metadata:
      Designer:
        id: 23ccbaab-f867-4914-a0e7-0e4aca6a20e1
inputs:
  hssi3q1p_instances:
    description: 订购数量
    label: ''
policies: {}