FrontendIpConfigurationInner Class

public final class FrontendIpConfigurationInner
extends SubResource

Frontend IP address of the load balancer.

Constructor Summary

Constructor Description
FrontendIpConfigurationInner()

Creates an instance of FrontendIpConfigurationInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static FrontendIpConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of FrontendIpConfigurationInner from the JsonReader.

SubResource gatewayLoadBalancer()

Get the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP.

List<SubResource> inboundNatPools()

Get the inboundNatPools property: An array of references to inbound pools that use this frontend IP.

List<SubResource> inboundNatRules()

Get the inboundNatRules property: An array of references to inbound rules that use this frontend IP.

List<SubResource> loadBalancingRules()

Get the loadBalancingRules property: An array of references to load balancing rules that use this frontend IP.

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.

List<SubResource> outboundRules()

Get the outboundRules property: An array of references to outbound rules that use this frontend IP.

String privateIpAddress()

Get the privateIpAddress property: The private IP address of the IP configuration.

IpVersion privateIpAddressVersion()

Get the privateIpAddressVersion property: Whether the specific ipconfiguration is IPv4 or IPv6.

IpAllocationMethod privateIpAllocationMethod()

Get the privateIpAllocationMethod property: The Private IP allocation method.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the frontend IP configuration resource.

PublicIpAddressInner publicIpAddress()

Get the publicIpAddress property: The reference to the Public IP resource.

SubResource publicIpPrefix()

Get the publicIpPrefix property: The reference to the Public IP Prefix resource.

SubnetInner subnet()

Get the subnet property: The reference to the subnet resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

FrontendIpConfigurationInner withGatewayLoadBalancer(SubResource gatewayLoadBalancer)

Set the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP.

FrontendIpConfigurationInner withId(String id)
FrontendIpConfigurationInner 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.

FrontendIpConfigurationInner withPrivateIpAddress(String privateIpAddress)

Set the privateIpAddress property: The private IP address of the IP configuration.

FrontendIpConfigurationInner withPrivateIpAddressVersion(IpVersion privateIpAddressVersion)

Set the privateIpAddressVersion property: Whether the specific ipconfiguration is IPv4 or IPv6.

FrontendIpConfigurationInner withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)

Set the privateIpAllocationMethod property: The Private IP allocation method.

FrontendIpConfigurationInner withPublicIpAddress(PublicIpAddressInner publicIpAddress)

Set the publicIpAddress property: The reference to the Public IP resource.

FrontendIpConfigurationInner withPublicIpPrefix(SubResource publicIpPrefix)

Set the publicIpPrefix property: The reference to the Public IP Prefix resource.

FrontendIpConfigurationInner withSubnet(SubnetInner subnet)

Set the subnet property: The reference to the subnet resource.

FrontendIpConfigurationInner withZones(List<String> zones)

Set the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from.

List<String> zones()

Get the zones property: A list of availability zones denoting the IP allocated for the resource needs to come from.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

FrontendIpConfigurationInner

public FrontendIpConfigurationInner()

Creates an instance of FrontendIpConfigurationInner class.

Method Details

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static FrontendIpConfigurationInner fromJson(JsonReader jsonReader)

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.

gatewayLoadBalancer

public SubResource gatewayLoadBalancer()

Get the gatewayLoadBalancer property: The reference to gateway load balancer frontend IP.

Returns:

the gatewayLoadBalancer value.

inboundNatPools

public List inboundNatPools()

Get the inboundNatPools property: An array of references to inbound pools that use this frontend IP.

Returns:

the inboundNatPools value.

inboundNatRules

public List inboundNatRules()

Get the inboundNatRules property: An array of references to inbound rules that use this frontend IP.

Returns:

the inboundNatRules value.

loadBalancingRules

public List loadBalancingRules()

Get the loadBalancingRules property: An array of references to load balancing rules that use this frontend IP.

Returns:

the loadBalancingRules value.

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:

the name value.

outboundRules

public List outboundRules()

Get the outboundRules property: An array of references to outbound rules that use this frontend IP.

Returns:

the outboundRules value.

privateIpAddress

public String privateIpAddress()

Get the privateIpAddress property: The private IP address of the IP configuration.

Returns:

the privateIpAddress value.

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.

privateIpAllocationMethod

public IpAllocationMethod privateIpAllocationMethod()

Get the privateIpAllocationMethod property: The Private IP allocation method.

Returns:

the privateIpAllocationMethod value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the frontend IP configuration resource.

Returns:

the provisioningState value.

publicIpAddress

public PublicIpAddressInner publicIpAddress()

Get the publicIpAddress property: The reference to the Public IP resource.

Returns:

the publicIpAddress value.

publicIpPrefix

public SubResource publicIpPrefix()

Get the publicIpPrefix property: The reference to the Public IP Prefix resource.

Returns:

the publicIpPrefix value.

subnet

public SubnetInner subnet()

Get the subnet property: The reference to the subnet resource.

Returns:

the subnet value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

FrontendIpConfigurationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withGatewayLoadBalancer

public FrontendIpConfigurationInner withGatewayLoadBalancer(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.

withId

public FrontendIpConfigurationInner withId(String id)

Overrides:

FrontendIpConfigurationInner.withId(String id)

Parameters:

id

withName

public FrontendIpConfigurationInner 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:

name - the name value to set.

Returns:

the FrontendIpConfigurationInner object itself.

withPrivateIpAddress

public FrontendIpConfigurationInner withPrivateIpAddress(String privateIpAddress)

Set the privateIpAddress property: The private IP address of the IP configuration.

Parameters:

privateIpAddress - the privateIpAddress value to set.

Returns:

the FrontendIpConfigurationInner object itself.

withPrivateIpAddressVersion

public FrontendIpConfigurationInner 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 FrontendIpConfigurationInner object itself.

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.

withPublicIpAddress

public FrontendIpConfigurationInner withPublicIpAddress(PublicIpAddressInner publicIpAddress)

Set the publicIpAddress property: The reference to the Public IP resource.

Parameters:

publicIpAddress - the publicIpAddress value to set.

Returns:

the FrontendIpConfigurationInner object itself.

withPublicIpPrefix

public FrontendIpConfigurationInner withPublicIpPrefix(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.

withSubnet

public FrontendIpConfigurationInner withSubnet(SubnetInner subnet)

Set the subnet property: The reference to the subnet resource.

Parameters:

subnet - the subnet value to set.

Returns:

the FrontendIpConfigurationInner object itself.

withZones

public FrontendIpConfigurationInner withZones(List zones)

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.

zones

public List 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.

Applies to