Skip to content

/AWS1/CL_ELB=>ATTACHLOADBALANCERTOSUBNETS()

About AttachLoadBalancerToSubnets

Adds one or more subnets to the set of configured subnets for the specified load balancer.

The load balancer evenly distributes requests across all registered subnets. For more information, see Add or Remove Subnets for Your Load Balancer in a VPC in the Classic Load Balancers Guide.

Method Signature

IMPORTING

Required arguments:

IV_LOADBALANCERNAME TYPE /AWS1/ELBACCESSPOINTNAME /AWS1/ELBACCESSPOINTNAME

The name of the load balancer.

IT_SUBNETS TYPE /AWS1/CL_ELBSUBNETS_W=>TT_SUBNETS TT_SUBNETS

The IDs of the subnets to add. You can add only one subnet per Availability Zone.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ELBATTACHLOADBALANC01 /AWS1/CL_ELBATTACHLOADBALANC01