Partilhar via


ApplicationGatewayFrontendIpConfiguration Class

public final class ApplicationGatewayFrontendIpConfiguration
extends SubResource

Frontend IP configuration of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayFrontendIpConfiguration()

Creates an instance of ApplicationGatewayFrontendIpConfiguration 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 ApplicationGatewayFrontendIpConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayFrontendIpConfiguration from the JsonReader.

String name()

Get the name property: Name of the frontend IP configuration that is unique within an Application Gateway.

String privateIpAddress()

Get the privateIpAddress property: PrivateIPAddress of the network interface IP Configuration.

IpAllocationMethod privateIpAllocationMethod()

Get the privateIpAllocationMethod property: The private IP address allocation method.

SubResource privateLinkConfiguration()

Get the privateLinkConfiguration property: Reference to the application gateway private link configuration.

ProvisioningState provisioningState()

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

SubResource publicIpAddress()

Get the publicIpAddress property: Reference to the PublicIP resource.

SubResource subnet()

Get the subnet property: Reference to the subnet resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

ApplicationGatewayFrontendIpConfiguration withId(String id)
ApplicationGatewayFrontendIpConfiguration withName(String name)

Set the name property: Name of the frontend IP configuration that is unique within an Application Gateway.

ApplicationGatewayFrontendIpConfiguration withPrivateIpAddress(String privateIpAddress)

Set the privateIpAddress property: PrivateIPAddress of the network interface IP Configuration.

ApplicationGatewayFrontendIpConfiguration withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)

Set the privateIpAllocationMethod property: The private IP address allocation method.

ApplicationGatewayFrontendIpConfiguration withPrivateLinkConfiguration(SubResource privateLinkConfiguration)

Set the privateLinkConfiguration property: Reference to the application gateway private link configuration.

ApplicationGatewayFrontendIpConfiguration withPublicIpAddress(SubResource publicIpAddress)

Set the publicIpAddress property: Reference to the PublicIP resource.

ApplicationGatewayFrontendIpConfiguration withSubnet(SubResource subnet)

Set the subnet property: Reference to the subnet resource.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayFrontendIpConfiguration

public ApplicationGatewayFrontendIpConfiguration()

Creates an instance of ApplicationGatewayFrontendIpConfiguration 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 ApplicationGatewayFrontendIpConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayFrontendIpConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationGatewayFrontendIpConfiguration 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 ApplicationGatewayFrontendIpConfiguration.

name

public String name()

Get the name property: Name of the frontend IP configuration that is unique within an Application Gateway.

Returns:

the name value.

privateIpAddress

public String privateIpAddress()

Get the privateIpAddress property: PrivateIPAddress of the network interface IP Configuration.

Returns:

the privateIpAddress value.

privateIpAllocationMethod

public IpAllocationMethod privateIpAllocationMethod()

Get the privateIpAllocationMethod property: The private IP address allocation method.

Returns:

the privateIpAllocationMethod value.

privateLinkConfiguration

public SubResource privateLinkConfiguration()

Get the privateLinkConfiguration property: Reference to the application gateway private link configuration.

Returns:

the privateLinkConfiguration value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

publicIpAddress

public SubResource publicIpAddress()

Get the publicIpAddress property: Reference to the PublicIP resource.

Returns:

the publicIpAddress value.

subnet

public SubResource subnet()

Get the subnet property: Reference to the subnet resource.

Returns:

the subnet value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ApplicationGatewayFrontendIpConfiguration.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.

withId

public ApplicationGatewayFrontendIpConfiguration withId(String id)

Overrides:

ApplicationGatewayFrontendIpConfiguration.withId(String id)

Parameters:

id

withName

public ApplicationGatewayFrontendIpConfiguration withName(String name)

Set the name property: Name of the frontend IP configuration that is unique within an Application Gateway.

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayFrontendIpConfiguration object itself.

withPrivateIpAddress

public ApplicationGatewayFrontendIpConfiguration withPrivateIpAddress(String privateIpAddress)

Set the privateIpAddress property: PrivateIPAddress of the network interface IP Configuration.

Parameters:

privateIpAddress - the privateIpAddress value to set.

Returns:

the ApplicationGatewayFrontendIpConfiguration object itself.

withPrivateIpAllocationMethod

public ApplicationGatewayFrontendIpConfiguration withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)

Set the privateIpAllocationMethod property: The private IP address allocation method.

Parameters:

privateIpAllocationMethod - the privateIpAllocationMethod value to set.

Returns:

the ApplicationGatewayFrontendIpConfiguration object itself.

withPrivateLinkConfiguration

public ApplicationGatewayFrontendIpConfiguration withPrivateLinkConfiguration(SubResource privateLinkConfiguration)

Set the privateLinkConfiguration property: Reference to the application gateway private link configuration.

Parameters:

privateLinkConfiguration - the privateLinkConfiguration value to set.

Returns:

the ApplicationGatewayFrontendIpConfiguration object itself.

withPublicIpAddress

public ApplicationGatewayFrontendIpConfiguration withPublicIpAddress(SubResource publicIpAddress)

Set the publicIpAddress property: Reference to the PublicIP resource.

Parameters:

publicIpAddress - the publicIpAddress value to set.

Returns:

the ApplicationGatewayFrontendIpConfiguration object itself.

withSubnet

public ApplicationGatewayFrontendIpConfiguration withSubnet(SubResource subnet)

Set the subnet property: Reference to the subnet resource.

Parameters:

subnet - the subnet value to set.

Returns:

the ApplicationGatewayFrontendIpConfiguration object itself.

Applies to