Class LoadBalancerFrontendIpConfiguration
java.lang.Object
com.azure.resourcemanager.compute.models.LoadBalancerFrontendIpConfiguration
Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load
balancer configuration must have exactly one frontend IP configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of LoadBalancerFrontendIpConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: The name of the resource that is unique within the set of frontend IP configurations used by the load balancer.Get the properties property: Properties of load balancer frontend ip configuration.voidvalidate()Validates the instance.Set the name property: The name of the resource that is unique within the set of frontend IP configurations used by the load balancer.Set the properties property: Properties of load balancer frontend ip configuration.
-
Constructor Details
-
LoadBalancerFrontendIpConfiguration
public LoadBalancerFrontendIpConfiguration()Creates an instance of LoadBalancerFrontendIpConfiguration class.
-
-
Method Details
-
name
Get the name property: The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.- Returns:
- the name value.
-
withName
Set the name property: The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.- Parameters:
name- the name value to set.- Returns:
- the LoadBalancerFrontendIpConfiguration object itself.
-
properties
Get the properties property: Properties of load balancer frontend ip configuration.- Returns:
- the properties value.
-
withProperties
public LoadBalancerFrontendIpConfiguration withProperties(LoadBalancerFrontendIpConfigurationProperties properties) Set the properties property: Properties of load balancer frontend ip configuration.- Parameters:
properties- the properties value to set.- Returns:
- the LoadBalancerFrontendIpConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-