VM::EC...iption(3pm)
π NAME π
VM::EC2::ELB:BackendServerDescription β it's giving Load Balancer Backend Server Description, bestie. That's the whole vibe. π
β¨ SYNOPSIS β¨
okay so first you gotta actually load the thing:
use VM::EC2;
my $ec2 = VM::EC2->new(...);
my $lb = $ec2->describe_load_balancers('my-lb');
my @descs = $lb->BackendServerDescriptions;
foreach my $desc (@descs) {
print $desc->InstancePort,":\n";
foreach ($desc->PolicyNames) {
print $_,"\n";
}
}
like, you spin up your $ec2, you grab your load balancer with describe_load_balancers('my-lb'), you pull all the descriptions off it with BackendServerDescriptions, and then you just loop and print. iconic behaviour tbh. π¦
πΈ DESCRIPTION πΈ
so this object is literally the BackendServerDescription data type. it's one of the response elements that comes back from the DescribeLoadBalancers API call. that's it, that's the job. no cap. π
π METHODS π
here's everything this lil guy can do for you:
InstancePortβ returns the port the back-end server is listening on. that's the one. πPolicyNamesβ returns an array of all the policy names that are enabled for the back-end server. plural. an array. not a single one. π
π STRING OVERLOADING π
NONE.</purl> okay? NONE. don't try it. π
π₯ SEE ALSO π₯
VM::EC2VM::EC2::GenericVM::EC2::Listener
π«Ά AUTHOR π«Ά
Lance Kinley <lkinley@loyaltymethods.com>
Copyright (c) 2012 Loyalty Methods, Inc.
This package and its accompanying libraries is free software; you can redistribute it and/or modify it under the terms of the GPL (either version 1, or at your option, any later version) or the Artistic License 2.0. Refer to LICENSE for the full license text. In addition, please see DISCLAIMER.txt for disclaimers of warranty.
fr fr, go readLICENSEandDISCLAIMER.txtbefore you come for me. legal besties stay winning. β
and that's the whole page, bestie β perl v5.38.2, dated 2024-08-10, from your friendly neighbourhood User Contributed Perl Documentation. mwah. ππβ¨
π¦ where this page comes from
- debian trixie: libvm-ec2-perl 1.28-5 Β· Artistic-2.0 OR GPL-1.0-or-later
- ubuntu resolute: libvm-ec2-perl 1.28-5 Β· Artistic-2.0 OR GPL-1.0-or-later
- ubuntu stonking: libvm-ec2-perl 1.28-5 Β· Artistic-2.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms