Class FrontendIpConfigurationInner
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.network.fluent.models.FrontendIpConfigurationInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.SubResource>
public final class FrontendIpConfigurationInner
extends com.azure.core.management.SubResource
Frontend IP address of the load balancer.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of FrontendIpConfigurationInner class. -
Method Summary
Modifier and TypeMethodDescriptionetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.static FrontendIpConfigurationInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FrontendIpConfigurationInner from the JsonReader.com.azure.core.management.SubResourceGet the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP.List<com.azure.core.management.SubResource> Get the inboundNatPools property: An array of references to inbound pools that use this frontend IP.List<com.azure.core.management.SubResource> Get the inboundNatRules property: An array of references to inbound rules that use this frontend IP.List<com.azure.core.management.SubResource> Get the loadBalancingRules property: An array of references to load balancing rules that use this frontend IP.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.List<com.azure.core.management.SubResource> Get the outboundRules property: An array of references to outbound rules that use this frontend IP.Get the privateIpAddress property: The private IP address of the IP configuration.Get the privateIpAddressVersion property: Whether the specific ipconfiguration is IPv4 or IPv6.Get the privateIpAllocationMethod property: The Private IP allocation method.Get the provisioningState property: The provisioning state of the frontend IP configuration resource.Get the publicIpAddress property: The reference to the Public IP resource.com.azure.core.management.SubResourceGet the publicIpPrefix property: The reference to the Public IP Prefix resource.subnet()Get the subnet property: The reference to the subnet resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Type of the resource.voidvalidate()Validates the instance.withGatewayLoadBalancer(com.azure.core.management.SubResource gatewayLoadBalancer) Set the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP.Set the name property: The name of the resource that is unique within the set of frontend IP configurations used by the load balancer.withPrivateIpAddress(String privateIpAddress) Set the privateIpAddress property: The private IP address of the IP configuration.withPrivateIpAddressVersion(IpVersion privateIpAddressVersion) Set the privateIpAddressVersion property: Whether the specific ipconfiguration is IPv4 or IPv6.withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) Set the privateIpAllocationMethod property: The Private IP allocation method.withPublicIpAddress(PublicIpAddressInner publicIpAddress) Set the publicIpAddress property: The reference to the Public IP resource.withPublicIpPrefix(com.azure.core.management.SubResource publicIpPrefix) Set the publicIpPrefix property: The reference to the Public IP Prefix resource.withSubnet(SubnetInner subnet) Set the subnet property: The reference to the subnet resource.Set the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from.zones()Get the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from.Methods inherited from class com.azure.core.management.SubResource
idMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
FrontendIpConfigurationInner
public FrontendIpConfigurationInner()Creates an instance of FrontendIpConfigurationInner 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 FrontendIpConfigurationInner object itself.
-
etag
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
type
Get the type property: Type of the resource.- Returns:
- the type value.
-
zones
Get the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from.- Returns:
- the zones value.
-
withZones
Set the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from.- Parameters:
zones- the zones value to set.- Returns:
- the FrontendIpConfigurationInner object itself.
-
withId
- Overrides:
withIdin classcom.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
Get the inboundNatPools property: An array of references to inbound pools that use this frontend IP.- Returns:
- the inboundNatPools value.
-
outboundRules
Get the outboundRules property: An array of references to outbound rules that use this frontend IP.- Returns:
- the outboundRules value.
-
loadBalancingRules
Get the loadBalancingRules property: An array of references to load balancing rules that use this frontend IP.- Returns:
- the loadBalancingRules value.
-
privateIpAddress
Get the privateIpAddress property: The private IP address of the IP configuration.- Returns:
- the privateIpAddress value.
-
withPrivateIpAddress
Set the privateIpAddress property: The private IP address of the IP configuration.- Parameters:
privateIpAddress- the privateIpAddress value to set.- Returns:
- the FrontendIpConfigurationInner object itself.
-
privateIpAllocationMethod
Get the privateIpAllocationMethod property: The Private IP allocation method.- Returns:
- the privateIpAllocationMethod value.
-
withPrivateIpAllocationMethod
public FrontendIpConfigurationInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod) Set the privateIpAllocationMethod property: The Private IP allocation method.- Parameters:
privateIpAllocationMethod- the privateIpAllocationMethod value to set.- Returns:
- the FrontendIpConfigurationInner object itself.
-
privateIpAddressVersion
Get the privateIpAddressVersion property: Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.- Returns:
- the privateIpAddressVersion value.
-
withPrivateIpAddressVersion
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 FrontendIpConfigurationInner object itself.
-
subnet
Get the subnet property: The reference to the subnet resource.- Returns:
- the subnet value.
-
withSubnet
Set the subnet property: The reference to the subnet resource.- Parameters:
subnet- the subnet value to set.- Returns:
- the FrontendIpConfigurationInner object itself.
-
publicIpAddress
Get the publicIpAddress property: The reference to the Public IP resource.- Returns:
- the publicIpAddress value.
-
withPublicIpAddress
Set the publicIpAddress property: The reference to the Public IP resource.- Parameters:
publicIpAddress- the publicIpAddress value to set.- Returns:
- the FrontendIpConfigurationInner 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 FrontendIpConfigurationInner 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 FrontendIpConfigurationInner 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 FrontendIpConfigurationInner 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 FrontendIpConfigurationInner object itself.
-
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.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.SubResource>- Overrides:
toJsonin classcom.azure.core.management.SubResource- Throws:
IOException
-
fromJson
public static FrontendIpConfigurationInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of FrontendIpConfigurationInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of FrontendIpConfigurationInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the FrontendIpConfigurationInner.
-