Bu sayfa henüz yerel dilinizde mevcut değildir. Daha fazla dil seçeneği eklemek için yoğun bir şekilde çalışıyoruz. Desteğiniz için teşekkür ederiz.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Creating a Product Template

Updated on 2024-06-25 GMT+08:00

Overview

You can save service capabilities of a product as a product template. When creating a product, you can select and inherit the service capabilities of the product template to quickly create the product.

Creating a Product Template

  1. Log in to the ROMA Connect console. On the Instances page, click View Console next to a specific instance.
  2. In the navigation pane on the left, choose LINK > Product Management. On the page displayed, click Create Product Template in the upper right corner.
  3. In the Create Product Template dialog box, set product template parameters and click OK.
    Table 1 Parameters for creating a product template

    Parameter

    Description

    Name

    Enter a product template name. It is recommended that you enter a name based on naming rules to facilitate search.

    NOTE:

    The name of each product template created in instances under the same tenant is unique.

    Description

    Enter the descriptive information of the product template.

    Status

    Specify whether to enable the product template (enabled by default). When disabled, the product template cannot add services and cannot be selected during product creation.

Adding a Thing Model Service to a Product Template

  1. Log in to the ROMA Connect console, choose LINK > Product Management, and click the Product Templates tab.
  2. Click the product template name to go to the product template details page.
  3. Add a thing model service to a product template.
    1. On the Thing Model tab page, click Create.
    2. In the Create Thing Model Service dialog box, set thing model service parameters and click OK.
      Table 2 Parameters for creating a thing model service

      Parameter

      Description

      Name

      Enter a thing model service name. It is recommended that you enter a name based on naming rules to facilitate search.

      Status

      This parameter specifies whether to enable the thing model service. The thing model service is enabled by default.

      Description

      Enter a brief description of the thing model service.

  4. Add attributes for the thing model service.
    1. On the Thing Model tab page, select the thing model service for which you want to add attributes.
    2. On the Attributes tab page on the right, click Create.
    3. In the Create Attribute dialog box, set attribute parameters and click OK.
      Table 3 Parameters for creating an attribute

      Parameter

      Description

      Attribute Name

      Enter an attribute name. It is recommended that you enter a name based on naming rules to facilitate search.

      Data Type

      Select the data type of the attribute.

      • Int: integer. If you select Int, you also need to specify Min. Value, Max. Value, and Unit.
      • Number: number. If you select Number, you also need to specify Min. Value, Max. Value, and Unit.
      • String: a character string. If you select String, you also need to specify the maximum data length and enumerated values.
      • Bool: Boolean. If you select Bool, you also need to specify 0 and 1.
      • DateTime: date. If you select DateTime, you also need to specify the maximum data length.
      • JsonObject: JSON object. If you select JsonObject, you also need to specify the maximum data length.
      • Array: array.

      The following uses the Int type as an example:

      For example, when defining the temperature attribute for thermometers, set Type to Int, Min. Value to 0, Max. Value to 100, Step to 2, and Unit to °C. This indicates that the device reports the temperature value (for example, 0°C, 2°C, 4°C, 6°C and 8°C) each time the temperature changes by two degrees.

      Mandatory

      This parameter specifies whether a device must report this attribute. This parameter is enabled by default.

      Description

      Enter a description of the attribute.

  5. Add commands for the thing model service.
    1. On the Thing Model tab page, select the thing model service for which you want to add commands.
    2. On the Commands tab page, click Create.
    3. In the Create Command dialog box, set command parameters and click OK.
      Table 4 Parameters for creating a command

      Parameter

      Description

      Command Name

      Enter a command name. It is recommended that you enter a name based on naming rules to facilitate search.

      Description

      Enter a brief description of the command.

    4. Locate the created command in the command list and click next to the command name to expand the command field list.

      Click Delivery Command Fields or Response Command Fields on the right to view the delivery command fields and response command fields of the command.

    5. Click Create Field.
    6. In the Create Field dialog box, set command field parameters and click OK.
      Table 5 Parameters for creating a command field

      Parameter

      Description

      Field Name

      Enter a field name. It is recommended that you enter a name based on naming rules to facilitate search.

      Data Type

      Select the data type of the command field.

      • Int: integer. If you select Int, you also need to specify Min. Value, Max. Value, and Unit.
      • Number: number. If you select Number, you also need to specify Min. Value, Max. Value, and Unit.
      • String: a character string. If you select String, you also need to specify the maximum data length and enumerated values.
      • Bool: Boolean. If you select Bool, you also need to specify 0 and 1.
      • DateTime: date. If you select DateTime, you also need to specify the maximum data length.
      • JsonObject: JSON object. If you select JsonObject, you also need to specify the maximum data length.
      • Array: array.

      Mandatory

      This parameter specifies whether the field must be carried in the delivery command. By default, the field must be carried.

      Description

      Enter the descriptive information of the command field.

Sitemizi ve deneyiminizi iyileştirmek için çerezleri kullanırız. Sitemizde tarama yapmaya devam ederek çerez politikamızı kabul etmiş olursunuz. Daha fazla bilgi edinin

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback