elb_deregister_instances_from_load_balancer: Deregisters the specified instances from the specified load...

Description Usage Arguments Value Request syntax Examples

View source: R/elb_operations.R

Description

Deregisters the specified instances from the specified load balancer. After the instance is deregistered, it no longer receives traffic from the load balancer.

You can use describe_load_balancers to verify that the instance is deregistered from the load balancer.

For more information, see Register or De-Register EC2 Instances in the Classic Load Balancers Guide.

Usage

1
elb_deregister_instances_from_load_balancer(LoadBalancerName, Instances)

Arguments

LoadBalancerName

[required] The name of the load balancer.

Instances

[required] The IDs of the instances.

Value

A list with the following syntax:

1
2
3
4
5
6
7
list(
  Instances = list(
    list(
      InstanceId = "string"
    )
  )
)

Request syntax

1
2
3
4
5
6
7
8
svc$deregister_instances_from_load_balancer(
  LoadBalancerName = "string",
  Instances = list(
    list(
      InstanceId = "string"
    )
  )
)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
# This example deregisters the specified instance from the specified load
# balancer.
svc$deregister_instances_from_load_balancer(
  Instances = list(
    list(
      InstanceId = "i-d6f6fae3"
    )
  ),
  LoadBalancerName = "my-load-balancer"
)

## End(Not run)

paws.networking documentation built on March 7, 2021, 5:08 p.m.