Amazon.ElasticLoadBalancingV2.AmazonElasticLoadBalancingV2Client.DescribeTargetGroups C# (CSharp) Method

DescribeTargetGroups() public method

Describes the specified target groups or all of your target groups. By default, all target groups are described. Alternatively, you can specify one of the following to filter the results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of one or more target groups.

To describe the targets for a target group, use DescribeTargetHealth. To describe the attributes of a target group, use DescribeTargetGroupAttributes.

/// The specified load balancer does not exist. /// /// The specified target group does not exist. ///
public DescribeTargetGroups ( DescribeTargetGroupsRequest request ) : DescribeTargetGroupsResponse
request Amazon.ElasticLoadBalancingV2.Model.DescribeTargetGroupsRequest Container for the necessary parameters to execute the DescribeTargetGroups service method.
return Amazon.ElasticLoadBalancingV2.Model.DescribeTargetGroupsResponse
        public DescribeTargetGroupsResponse DescribeTargetGroups(DescribeTargetGroupsRequest request)
        {
            var marshaller = new DescribeTargetGroupsRequestMarshaller();
            var unmarshaller = DescribeTargetGroupsResponseUnmarshaller.Instance;

            return Invoke<DescribeTargetGroupsRequest,DescribeTargetGroupsResponse>(request, marshaller, unmarshaller);
        }
AmazonElasticLoadBalancingV2Client