Class LoadBalancerFrontendIpConfigurationProperties
java.lang.Object
com.azure.resourcemanager.compute.models.LoadBalancerFrontendIpConfigurationProperties
Describes a cloud service IP Configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the privateIpAddress property: The virtual network private IP address of the IP configuration.com.azure.core.management.SubResourceGet the publicIpAddress property: The reference to the public ip address resource.com.azure.core.management.SubResourcesubnet()Get the subnet property: The reference to the virtual network subnet resource.voidvalidate()Validates the instance.withPrivateIpAddress(String privateIpAddress) Set the privateIpAddress property: The virtual network private IP address of the IP configuration.withPublicIpAddress(com.azure.core.management.SubResource publicIpAddress) Set the publicIpAddress property: The reference to the public ip address resource.withSubnet(com.azure.core.management.SubResource subnet) Set the subnet property: The reference to the virtual network subnet resource.
-
Constructor Details
-
LoadBalancerFrontendIpConfigurationProperties
public LoadBalancerFrontendIpConfigurationProperties()
-
-
Method Details
-
publicIpAddress
public com.azure.core.management.SubResource publicIpAddress()Get the publicIpAddress property: The reference to the public ip address resource.- Returns:
- the publicIpAddress value.
-
withPublicIpAddress
public LoadBalancerFrontendIpConfigurationProperties withPublicIpAddress(com.azure.core.management.SubResource publicIpAddress) Set the publicIpAddress property: The reference to the public ip address resource.- Parameters:
publicIpAddress- the publicIpAddress value to set.- Returns:
- the LoadBalancerFrontendIpConfigurationProperties object itself.
-
subnet
public com.azure.core.management.SubResource subnet()Get the subnet property: The reference to the virtual network subnet resource.- Returns:
- the subnet value.
-
withSubnet
public LoadBalancerFrontendIpConfigurationProperties withSubnet(com.azure.core.management.SubResource subnet) Set the subnet property: The reference to the virtual network subnet resource.- Parameters:
subnet- the subnet value to set.- Returns:
- the LoadBalancerFrontendIpConfigurationProperties object itself.
-
privateIpAddress
Get the privateIpAddress property: The virtual network private IP address of the IP configuration.- Returns:
- the privateIpAddress value.
-
withPrivateIpAddress
Set the privateIpAddress property: The virtual network private IP address of the IP configuration.- Parameters:
privateIpAddress- the privateIpAddress value to set.- Returns:
- the LoadBalancerFrontendIpConfigurationProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-