- What's New
- Service Overview
- User Guide
- Template Reference
-
API Reference
- Before You Start
-
API
- Calling APIs
-
Stacks
- Listing Events of a Stack
- Obtaining Stack Metadata
- Listing Stacks
- Creating a Stack
- Obtaining a Stack Template
- Listing Stack Resources
- Listing Stack Outputs
- Continuing to Deploy a Stack
- Deploying a Stack
- Deleting a Stack
- Updating a Stack
- Deleting a Stack with Conditions
- Continuing to Roll Back a Stack
- Execution Plans
- Template Analysis
- Template Management
-
Stack Sets
- Listing Stack Sets
- Creating a Stack Set
- Obtaining a Stack Set Template
- Listing Stack Set Operations
- Obtaining Metadata of a Stack Set
- Listing Stack Instances
- Creating Stack Instances
- Deleting Stack Instance Deprecated
- Updating Stack Instances
- Deleting Stack Instances
- Deploying a Stack Set
- Deleting a Stack Set
- Updating a Stack Set
- Obtaining Metadata of a Stack Set Operation
- Obtaining a Stack Instance
- Customized Providers
- Resource Formation - Hook
- Resource Formation - Module Management
- Permissions and Supported Actions
- Appendix
- Change History
- FAQs
- Videos
-
More Documents
-
User Guide (ME-Abu Dhabi Region)
- Service Overview
- Getting Started
- Stack Management
- CTS
-
Template Reference
- Template Introduction
-
List of Elements
- Resource Indexes
- AOS.Stack
- CCE.Addon.AutoScaler
- CCE.Cluster
- CCE.HelmRelease
- CCE.NodePool
- CCE.Pod
- CCE.Storage.OBS
- CCE.Storage.SFS
- DCS.Redis
- ECS.CloudServer
- ECS.KeyPair
- NAT.Instance
- NAT.SNatRule
- OBS.Bucket
- RDS.MySQL
- SFS.FileSystem
- ULB.Healthmonitor
- ULB.Listener
- ULB.LoadBalancer
- ULB.Member
- ULB.Pool
- VPC.EIP
- VPC.SecurityGroup
- VPC.SecurityGroupRule
- VPC.Subnet
- VPC.VPC
-
Data Structure
- AOS.BatchItem
- Basic.KeyValuePair
- Basic.Label
- Basic.LabelSelector
- Basic.NameAndSecretValue
- Basic.NameKeyPair
- Basic.NameValuePair
- CCE.Addon.AutoScaler.Node
- CCE.DataVolume
- CCE.HelmChart
- CCE.Labels
- CCE.NodePool
- CCE.PublicIP
- DCS.InstanceBackupPolicy
- DCS.PeriodicalBackupPlan
- ECS.DataVolume
- ECS.EIP
- ECS.ExtendParam
- ECS.MountedVolumes
- ECS.NICS
- ECS.Personality
- ECS.PublicIP
- ECS.RootVolume
- ECS.SecurityGroup
- ECS.ServerTags
- ECS.VolumeExtendParam
- K8S.PodSecurityContext
- K8S.SecurityContext.SeLinuxOptions
- MySQL.DBUser
- MySQL.DataBase
- MySQL.DataStore
- RDS.BackupStrategy
- RDS.HA.Mysql
- RDS.Volume
- ULB.StickySession
- VPC.BandWidth
- VPC.PublicIP
- Appendix
- FAQs
- Change History
-
API Reference (ME-Abu Dhabi Region)
- Before You Start
- API Overview
- Calling APIs
-
API
- Creating a Template
- Querying a Template List
- Updating a Template
- Deleting a Template
- Downloading a Template
- Querying a Template
- Querying the Input Parameters of a Template
- Creating a Stack
- Deleting a Stack
- Executing a Stack Lifecycle
- Querying a Stack List
- Querying a Stack
- Querying a Stack Element List
- Querying a Stack Element
- Querying a Stack Output
- Querying Stack Input
- Querying the Execution Record of a Stack
- Querying a Stack Execution Record List
- Appendix
- Change History
-
API Reference (Kuala Lumpur Region)
- Before You Start
-
API
- Calling APIs
-
Stacks
- Listing Events of a Stack
- Obtaining Stack Metadata
- Listing Stacks
- Creating a Stack
- Obtaining a Stack Template
- Listing Stack Resources
- Listing Stack Outputs
- Continuing to Deploy a Stack
- Deploying a Stack
- Deleting a Stack
- Updating a Stack
- Deleting a Stack with Conditions
- Continuing to Roll Back a Stack
- Execution Plans
- Template Analysis
- Template Management
-
Stack Sets
- Listing Stack Sets
- Creating a Stack Set
- Obtaining a Stack Set Template
- Listing Stack Set Operations
- Obtaining Metadata of a Stack Set
- Listing Stack Instances
- Creating Stack Instances
- Deleting Stack Instance Deprecated
- Updating Stack Instances
- Deploying a Stack Set
- Deleting Stack Instances
- Deleting a Stack Set
- Updating a Stack Set
- Obtaining Metadata of a Stack Set Operation
- Obtaining a Stack Instance
- Appendix
- Change History
- User Guide (Kuala Lumpur Region)
-
User Guide (ME-Abu Dhabi Region)
- General Reference
Copied.
ULB.Member
Element Description
For ECSs under a shared load balancer, one pool corresponds to multiple ECSs. You can add or delete ECSs as required.
Element Properties
Property |
Mandatory |
Descripiton |
---|---|---|
weight |
No |
Weight of an ECS, which determines the proportion of requests to be forwarded compared with other members in the same ECS group Type: integer Value Description: Customize the value. The value is an integer between 1 and 256, for example, 3. Value Constraint: {u'in_range': [0, 256]} Suggestion: Set the value based on the live environment. |
address |
No |
Private IP address of the backend ECS added to the listener Type: ip array Value Description: private network IP address generated after an ECS is created, for example, 192.168.0.45 Value Constraint: The IP address must be the private network IP address of the existing ECS instance. The ECS and listener must be in the same subnet. Set either address or serverId. Suggestion: You are advised to drag the object to the ECS.CloudServer and use {get_attribute: [ECS element, privateIps]} to automatically generate the value. Alternatively, obtain the private network IP address on the ECS console and enter it accordingly. |
poolId |
Yes |
ID of the ECS group to which the ECS is to be added Type: string Value Description: ID of the ECS group to which the ECS is to be added Suggestion: Use the get_reference function to automatically generate the value. |
subnetId |
Yes |
ID of the subnet where the ECS and listener are located Type: Cloud.VPC.Subnet.All.Id Value Description: ID of the subnet of the VPC Value Constraint: The subnet ID must be the same as that in the listener. Suggestion: Drag the object to VPC.Subnet and use {get_attribute: [element name, neutron_subnet_id]} to automatically generate the value. Alternatively, obtain the subnet ID on the VPC details page. |
serverId |
No |
ID of the backend ECS added to the listener Type: string array Value Description: ID generated after an ECS is created, for example, b7a65ad3-c031-43cc-93ac-ac6dbdbd2295. Value Constraint: The ID must be the ID of an existing ECS instance. The ECS and listener must be in the same subnet. Set either address or serverId. Suggestion: You are advised to drag the object into ECS.CloudServer and use {get_attribute: [ECS element, refID]} to automatically generate the value. Alternatively, search for the ID on the ECS console and enter it accordingly. |
port |
Yes |
Backend port of the ECS Type: integer Value Description: Customize the value. The value is an integer between 1 and 65535, for example, 8089. Value Constraint: {u'in_range': [1, 65535]} Suggestion: Set the value based on the live environment. |
Relationships Between Elements
Description |
Target |
---|---|
Connected |
|
Connected |
|
Inclusion |
Return Value
Property |
Type |
Description |
---|---|---|
refID |
string |
Backend ECS instance ID |
poolId |
string |
ID of the ECS group to which the backend ECS belongs |
Blueprint Example
tosca_definitions_version: cloud_tosca_version_1_0 inputs: pool_protocol: description: 'ECS group protocol, which must be consistent with the listener protocol' pool_listenerId: description: Belonged listener ID pool_lbAlgorithm: description: Allocation policy type delay: description: Interval for health check (unit: s) timeout: description: Maximum timeout duration for health check (unit: s) max_retries: description: The number of consecutive times a cloud server fails or passes health checks, after which the health check status of the backend cloud server changes from success to fail or from fail to success, respectively. type: description: Health check protocol subnetId: description: ID of the subnet to which the ECS and listener belong. It is the subnet ID rather than the subnet network ID. address: description: Private IP address of the backend ECS added to the listener port: description: Backend port of the ECS node_templates: pool: type: Cloud.ULB.Pool properties: protocol: get_input: pool_protocol listenerId: get_input: pool_listenerId lbAlgorithm: get_input: pool_lbAlgorithm health-monitor: type: Cloud.ULB.Healthmonitor properties: delay: get_input: delay timeout: get_input: timeout maxRetries: get_input: max_retries type: get_input: type poolId: get_reference: pool requirements: - poolId: node: pool member: type: Cloud.ULB.Member properties: subnetId: get_input: subnetId address: - get_input: address port: get_input: port poolId: get_reference: pool requirements: - poolId: node: pool
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot