edit-icon download-icon

ALIYUN::SLB::BackendServerToVServerGroupAddition

Last Updated: Jun 13, 2018

ALIYUN::SLB::BackendServerToVServerGroupAddition is used to add backend servers to an existing VServer group.

Syntax

  1. {
  2. "Type" : "ALIYUN::SLB::BackendServerToVServerGroupAddition",
  3. "Properties" : {
  4. "BackendServers" : List,
  5. "VServerGroupId" : String
  6. }
  7. }

Properties

Name Type Required Update allowed Description
VServerGroupId string Yes No VServer group ID.
BackendServers list Yes Yes The ECS instance list to be added.

BackendServers syntax

  1. "BackendServers" : [
  2. {
  3. "ServerId" : String,
  4. "Port" : Integer,
  5. "Weight" : Integer
  6. }
  7. ]

BackendServers properties

Name Type Required Update allowed Description Constraint
ServerId string Yes Yes ECS instance ID. N/A
Port integer Yes Yes The ECS port number monitored by the Server Load Balancer listener. Value:[1, 65535].
Weight integer Yes Yes The ECS instance weight to the Server Load Balancer instance. Value:[0,100].

Example

  1. {
  2. "ROSTemplateFormatVersion": "2015-09-01",
  3. "Resources": {
  4. "AttachVServerGroup": {
  5. "Type": "ALIYUN::SLB::BackendServerToVServerGroupAddition",
  6. "Properties": {
  7. "VServerGroupId": "sg-2zenh4ndwrqg14yt094fg",
  8. "BackendServers": [
  9. {
  10. "ServerId": "i-25zskuabf",
  11. "Weight": 20,
  12. "Port": 8080
  13. },
  14. {
  15. "ServerId": "i-25zskuabf",
  16. "Weight": 100,
  17. "Port": 8081
  18. }
  19. ]
  20. }
  21. }
  22. }
  23. }
Thank you! We've received your feedback.