Adds one or more subnets to the set of configured subnets in the VPC for the LoadBalancer.
The Loadbalancers evenly distribute requests across all of the registered subnets.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The name associated with the LoadBalancer. The name must be unique within the client AWS account. |
|
|
Required |
A list of subnet IDs to add for the LoadBalancer. Pass a string for a single value, or an indexed array for multiple values. |
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Source
Method defined in services/elb.class.php | Toggle source view (12 lines) | View on GitHub