LoadBalancerFrontendIpConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. LoadBalancerFrontendIpConfiguration
- com.
Implements
public final class LoadBalancerFrontendIpConfiguration
implements JsonSerializable<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
| Constructor | Description |
|---|---|
| LoadBalancerFrontendIpConfiguration() |
Creates an instance of Load |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Load |
fromJson(JsonReader jsonReader)
Reads an instance of Load |
| String |
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. |
|
Load |
properties()
Get the properties property: Properties of load balancer frontend ip configuration. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Load |
withName(String name)
Set the name property: The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. |
|
Load |
withProperties(LoadBalancerFrontendIpConfigurationProperties properties)
Set the properties property: Properties of load balancer frontend ip configuration. |
Methods inherited from java.lang.Object
Constructor Details
LoadBalancerFrontendIpConfiguration
public LoadBalancerFrontendIpConfiguration()
Creates an instance of LoadBalancerFrontendIpConfiguration class.
Method Details
fromJson
public static LoadBalancerFrontendIpConfiguration fromJson(JsonReader jsonReader)
Reads an instance of LoadBalancerFrontendIpConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
name
public String 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:
properties
public LoadBalancerFrontendIpConfigurationProperties properties()
Get the properties property: Properties of load balancer frontend ip configuration.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public LoadBalancerFrontendIpConfiguration withName(String name)
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:
Returns:
withProperties
public LoadBalancerFrontendIpConfiguration withProperties(LoadBalancerFrontendIpConfigurationProperties properties)
Set the properties property: Properties of load balancer frontend ip configuration.
Parameters:
Returns: