هذه الصفحة غير متوفرة حاليًا بلغتك المحلية. نحن نعمل جاهدين على إضافة المزيد من اللغات. شاكرين تفهمك ودعمك المستمر لنا.

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

Configuring Parameters of an Application

Updated on 2025-02-08 GMT+08:00

This section describes how to set application parameters. By setting application parameters, you can deploy applications based on customized parameters.

Application parameters are classified into the following types:

  • Custom: Add parameters as required. Parameter types include string, enumeration, and environment.
  • Predefined: The parameter values are generated and cannot be deleted or modified.

Creating and Configuring a Parameter

This section describes how to create and configure user-defined parameters in an application.

  1. Select the target application, click , and click Edit. The Deployment Actions page is displayed.
  2. Click Parameters.

    The following parameters are provided.

    Basic Information

    Description

    Create Parameter

    You can click Create Parameter to add a parameter.

    Name

    Parameter name. You can change the name of a custom parameter.

    NOTE:

    The name of a custom parameter cannot be the same as that of a predefined parameter.

    Type

    Parameter types include string, enumeration, and environment.

    Default Value

    Enter or select a parameter value.

    NOTE:

    If no environment is available when you select an environment type, you need to manually create an environment.

    Private Parameter

    If a parameter is private, the system encrypts the input for storage and only decrypts the parameter when using it. Runtime Settings cannot be set.

    Runtime Settings

    If this parameter is enabled, the parameter value can be changed during application deployment and the parameter value will be reported to the application. Runtime parameters need to be entered during execution.

    Description

    Parameter description.

    Operation

    Click to delete a parameter.

  3. Click Create Parameter to add a parameter. Customize the parameter name, type (String by default), and default value as required, and set private parameters and runtime settings.

    • String

      The parameter value is a character string. You can customize the value in the Default Value column, and enable the private parameter or runtime settings.

    • Enumeration

      After you set the type to Enumeration, the enumeration dialog box is displayed for you to set Available Values. To set multiple values, click the icon. To delete a value, click .

      After the setting, select a value from the Default Value drop-down list, as shown in the following figure.

    • Environment

      Select an environment from the Default Value drop-down list. You can select an environment created in the application from the drop-down list.

      NOTE:

      If there is no option in the drop-down list, create an environment on the Environment Management tab page. Then return to the parameter configuration page and click to refresh the environment to the drop-down list.

  4. After modifying all information, click Save.

Editing a Parameter

  1. Select the target application, click , and click Edit. The Deployment Actions page is displayed.
  2. Click Parameters.

    • Edit a parameter.

      You can edit Name, Type, Default Value, Private Parameter, Runtime Settings, and Description of the existing parameters. You can also click to drag parameters to change their order.

    • Add a parameter.

      Click Create Parameter to add a parameter. You can also click in the Operation column to add a new parameter and edit it under the current parameter.

    • Delete a parameter.

      Click to delete an existing parameter.

Using a Parameter

This section uses an example to describe how to use custom parameters.

  1. Select the target application, click , and click Edit. The Deployment Actions page is displayed.
  2. Click Parameters, create custom parameters of Environment, Enumeration, and String respectively and enable their Runtime Settings.
  3. Click Deployment Actions and reference custom parameters in the actions details.

    The parameter reference format is ${Parameter name}. Enter $ in the text box and the parameter list will be displayed. Select the parameter as required.

    For example, when configuring the Software Package item, enter $ to display the configured package_url parameter, and then select this parameter.

  4. Click Save and Deploy. In the dialog box that is displayed, assign values to the parameters again.
  5. Click OK to save and deploy the application.
NOTE:
  1. When CodeArts Pipeline is associated with an application, parameters can be dynamically bound.
  2. When CodeArts Pipeline is running, the entered parameter values will be replaced in the application and run.
  3. After you add a task action of the deployment type to the pipeline task and select an application with Runtime Settings parameters, parameters can be dynamically configured when the pipeline is executed.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback