Updated on 2023-08-11 GMT+08:00

HSS.Instance

Element Description

The HSS.Instance element is used to create HSS resources.

Element Properties

Table 1 Property Description

Property

Required

Descripiton

instances

Yes

Number of subscriptions.

Type: integer

resourceSpecCode

Yes

Resource specifications for users to purchase cloud service products.

Type: string

Default: hss.version.enterprise

Value Constraint: The value can be hss.version.enterprise, hss.version.basic, or hss.version.wtp.

hostIds

No

ECS ID

Type: string Array

Value Description: Indicates the ID (character string array) of the backend ECS of the listener, for example, 8abbd7a9-c1f8-440d-96ff-376ee7382082 or 855dfe22-3366-4d3e-a45c-3478d6d0954a.

Suggestion: You are advised to drag the object to the ECS.CloudServer and use the get_reference function to automatically generate the value. Alternatively, query the ECS instance ID on the ECS page and enter it accordingly.

Relationships Between Elements

Table 2 Relationship description

Description

Target

Connected

ECS.CloudServer

Return Value

Property

Type

Description

resources

string

HSS Instance resources

Blueprint Example

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: Order quantity
    label: ''
policies: {}