SetLoadBalancerPoliciesForBackendServer
GET /?Action=SetLoadBalancerPoliciesForBackendServer
Description
Replaces the set of policies enabled for the specified port on which the instance is listening with a new set of policies.
You can use the DescribeLoadBalancers
method to list the policies associated with the instance. For more information, see DescribeLoadBalancers.
Body parameter
Required: false
Name: SetLoadBalancerPoliciesForBackendServerRequest
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
InstancePort |
The port on which the instance is listening. |
true |
integer |
||
LoadBalancerName |
The name of the load balancer. |
true |
string |
||
PolicyNames.member.N |
The names of all the policies you want to enable for your load balancer. You need to list the already enabled policies that you want to keep along with the new ones you are enabling. If the list is empty, then all current policies are removed from the instance. |
true |
string |
Responses
HTTP Code 200
HTTP Code | Description | Schema |
---|---|---|
200 |
SetLoadBalancerPoliciesForBackendServerResult |
empty object |