Class FrontendIpConfigurationPropertiesFormatInner
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.FrontendIpConfigurationPropertiesFormatInner
-
public final class FrontendIpConfigurationPropertiesFormatInner extends Object
Properties of Frontend IP Configuration of the load balancer.
-
-
Constructor Summary
Constructors Constructor Description FrontendIpConfigurationPropertiesFormatInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.core.management.SubResourcegatewayLoadBalancer()Get the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP.List<com.azure.core.management.SubResource>inboundNatPools()Get the inboundNatPools property: An array of references to inbound pools that use this frontend IP.List<com.azure.core.management.SubResource>inboundNatRules()Get the inboundNatRules property: An array of references to inbound rules that use this frontend IP.List<com.azure.core.management.SubResource>loadBalancingRules()Get the loadBalancingRules property: An array of references to load balancing rules that use this frontend IP.List<com.azure.core.management.SubResource>outboundRules()Get the outboundRules property: An array of references to outbound rules that use this frontend IP.StringprivateIpAddress()Get the privateIpAddress property: The private IP address of the IP configuration.IpVersionprivateIpAddressVersion()Get the privateIpAddressVersion property: Whether the specific ipconfiguration is IPv4 or IPv6.IpAllocationMethodprivateIpAllocationMethod()Get the privateIpAllocationMethod property: The Private IP allocation method.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the frontend IP configuration resource.PublicIpAddressInnerpublicIpAddress()Get the publicIpAddress property: The reference to the Public IP resource.com.azure.core.management.SubResourcepublicIpPrefix()Get the publicIpPrefix property: The reference to the Public IP Prefix resource.SubnetInnersubnet()Get the subnet property: The reference to the subnet resource.voidvalidate()Validates the instance.FrontendIpConfigurationPropertiesFormatInnerwithGatewayLoadBalancer(com.azure.core.management.SubResource gatewayLoadBalancer)Set the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP.FrontendIpConfigurationPropertiesFormatInnerwithPrivateIpAddress(String privateIpAddress)Set the privateIpAddress property: The private IP address of the IP configuration.FrontendIpConfigurationPropertiesFormatInnerwithPrivateIpAddressVersion(IpVersion privateIpAddressVersion)Set the privateIpAddressVersion property: Whether the specific ipconfiguration is IPv4 or IPv6.FrontendIpConfigurationPropertiesFormatInnerwithPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)Set the privateIpAllocationMethod property: The Private IP allocation method.FrontendIpConfigurationPropertiesFormatInnerwithPublicIpAddress(PublicIpAddressInner publicIpAddress)Set the publicIpAddress property: The reference to the Public IP resource.FrontendIpConfigurationPropertiesFormatInnerwithPublicIpPrefix(com.azure.core.management.SubResource publicIpPrefix)Set the publicIpPrefix property: The reference to the Public IP Prefix resource.FrontendIpConfigurationPropertiesFormatInnerwithSubnet(SubnetInner subnet)Set the subnet property: The reference to the subnet resource.
-
-
-
Method Detail
-
inboundNatRules
public List<com.azure.core.management.SubResource> inboundNatRules()
Get the inboundNatRules property: An array of references to inbound rules that use this frontend IP.- Returns:
- the inboundNatRules value.
-
inboundNatPools
public List<com.azure.core.management.SubResource> inboundNatPools()
Get the inboundNatPools property: An array of references to inbound pools that use this frontend IP.- Returns:
- the inboundNatPools value.
-
outboundRules
public List<com.azure.core.management.SubResource> outboundRules()
Get the outboundRules property: An array of references to outbound rules that use this frontend IP.- Returns:
- the outboundRules value.
-
loadBalancingRules
public List<com.azure.core.management.SubResource> loadBalancingRules()
Get the loadBalancingRules property: An array of references to load balancing rules that use this frontend IP.- Returns:
- the loadBalancingRules value.
-
privateIpAddress
public String privateIpAddress()
Get the privateIpAddress property: The private IP address of the IP configuration.- Returns:
- the privateIpAddress value.
-
withPrivateIpAddress
public FrontendIpConfigurationPropertiesFormatInner withPrivateIpAddress(String privateIpAddress)
Set the privateIpAddress property: The private IP address of the IP configuration.- Parameters:
privateIpAddress- the privateIpAddress value to set.- Returns:
- the FrontendIpConfigurationPropertiesFormatInner object itself.
-
privateIpAllocationMethod
public IpAllocationMethod privateIpAllocationMethod()
Get the privateIpAllocationMethod property: The Private IP allocation method.- Returns:
- the privateIpAllocationMethod value.
-
withPrivateIpAllocationMethod
public FrontendIpConfigurationPropertiesFormatInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
Set the privateIpAllocationMethod property: The Private IP allocation method.- Parameters:
privateIpAllocationMethod- the privateIpAllocationMethod value to set.- Returns:
- the FrontendIpConfigurationPropertiesFormatInner object itself.
-
privateIpAddressVersion
public IpVersion privateIpAddressVersion()
Get the privateIpAddressVersion property: Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.- Returns:
- the privateIpAddressVersion value.
-
withPrivateIpAddressVersion
public FrontendIpConfigurationPropertiesFormatInner withPrivateIpAddressVersion(IpVersion privateIpAddressVersion)
Set the privateIpAddressVersion property: Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.- Parameters:
privateIpAddressVersion- the privateIpAddressVersion value to set.- Returns:
- the FrontendIpConfigurationPropertiesFormatInner object itself.
-
subnet
public SubnetInner subnet()
Get the subnet property: The reference to the subnet resource.- Returns:
- the subnet value.
-
withSubnet
public FrontendIpConfigurationPropertiesFormatInner withSubnet(SubnetInner subnet)
Set the subnet property: The reference to the subnet resource.- Parameters:
subnet- the subnet value to set.- Returns:
- the FrontendIpConfigurationPropertiesFormatInner object itself.
-
publicIpAddress
public PublicIpAddressInner publicIpAddress()
Get the publicIpAddress property: The reference to the Public IP resource.- Returns:
- the publicIpAddress value.
-
withPublicIpAddress
public FrontendIpConfigurationPropertiesFormatInner withPublicIpAddress(PublicIpAddressInner publicIpAddress)
Set the publicIpAddress property: The reference to the Public IP resource.- Parameters:
publicIpAddress- the publicIpAddress value to set.- Returns:
- the FrontendIpConfigurationPropertiesFormatInner object itself.
-
publicIpPrefix
public com.azure.core.management.SubResource publicIpPrefix()
Get the publicIpPrefix property: The reference to the Public IP Prefix resource.- Returns:
- the publicIpPrefix value.
-
withPublicIpPrefix
public FrontendIpConfigurationPropertiesFormatInner withPublicIpPrefix(com.azure.core.management.SubResource publicIpPrefix)
Set the publicIpPrefix property: The reference to the Public IP Prefix resource.- Parameters:
publicIpPrefix- the publicIpPrefix value to set.- Returns:
- the FrontendIpConfigurationPropertiesFormatInner object itself.
-
gatewayLoadBalancer
public com.azure.core.management.SubResource gatewayLoadBalancer()
Get the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP.- Returns:
- the gatewayLoadBalancer value.
-
withGatewayLoadBalancer
public FrontendIpConfigurationPropertiesFormatInner withGatewayLoadBalancer(com.azure.core.management.SubResource gatewayLoadBalancer)
Set the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP.- Parameters:
gatewayLoadBalancer- the gatewayLoadBalancer value to set.- Returns:
- the FrontendIpConfigurationPropertiesFormatInner object itself.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the frontend IP configuration resource.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-