AWS SDK for .NET Documentation
ApplySecurityGroupsToLoadBalancerRequest Class
AmazonAmazon.ElasticLoadBalancing.ModelApplySecurityGroupsToLoadBalancerRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the ApplySecurityGroupsToLoadBalancer operation.

Associates one or more security groups with your load balancer in Amazon Virtual Private Cloud (Amazon VPC). The provided security group IDs will override any currently applied security groups.

For more information, see Manage Security Groups in Amazon VPC in the Elastic Load Balancing Developer Guide .

Declaration Syntax
C#
public class ApplySecurityGroupsToLoadBalancerRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ApplySecurityGroupsToLoadBalancerRequest()()()()
Initializes a new instance of the ApplySecurityGroupsToLoadBalancerRequest class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
LoadBalancerName
The name associated with the load balancer. The name must be unique within the set of load balancers associated with your AWS account.

SecurityGroups
A list of security group IDs to associate with your load balancer in VPC. The security group IDs must be provided as the ID and not the security group name (For example, sg-1234).

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithLoadBalancerName(String) Obsolete.
Sets the LoadBalancerName property

WithSecurityGroups(array<String>[]()[][]) Obsolete.
Adds elements to the SecurityGroups collection

WithSecurityGroups(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Adds elements to the SecurityGroups collection

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 ApplySecurityGroupsToLoadBalancerRequest
See Also

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)