Container for the parameters to the CreateLoadBalancerPolicy operation.
Creates a new policy that contains the necessary attributes depending on the policy type. Policies are settings that are saved for your load balancer and that can be applied to the front-end listener, or the back-end application server, depending on your policy type.
Declaration Syntax
C# |
public class CreateLoadBalancerPolicyRequest : AmazonWebServiceRequest
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
CreateLoadBalancerPolicyRequest()()()() | Initializes a new instance of the CreateLoadBalancerPolicyRequest class | |
Equals(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 LoadBalancer for which the policy is being created.
| |
PolicyAttributes |
A list of attributes associated with the policy being created.
| |
PolicyName |
The name of the load balancer policy being created. The name must be unique within the set of policies for this load balancer.
| |
PolicyTypeName |
The name of the base policy type being used to create this policy. To get the list of policy types, use the
DescribeLoadBalancerPolicyTypes action.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithLoadBalancerName(String) | Obsolete.
Sets the LoadBalancerName property
| |
WithPolicyAttributes(array<PolicyAttribute>[]()[][]) | Obsolete.
Adds elements to the PolicyAttributes collection
| |
WithPolicyAttributes(IEnumerable<(Of <<'(PolicyAttribute>)>>)) | Obsolete.
Adds elements to the PolicyAttributes collection
| |
WithPolicyName(String) | Obsolete.
Sets the PolicyName property
| |
WithPolicyTypeName(String) | Obsolete.
Sets the PolicyTypeName property
|
Inheritance Hierarchy
Object | ||
AmazonWebServiceRequest | ||
CreateLoadBalancerPolicyRequest |