ApplicationGatewayIpConfigurationInner Class

public final class ApplicationGatewayIpConfigurationInner
extends SubResource

IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed.

Constructor Summary

Constructor Description
ApplicationGatewayIpConfigurationInner()

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

Reads an instance of ApplicationGatewayIpConfigurationInner from the JsonReader.

String name()

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

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the application gateway IP configuration 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.

ApplicationGatewayIpConfigurationInner withId(String id)
ApplicationGatewayIpConfigurationInner withName(String name)

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

ApplicationGatewayIpConfigurationInner withSubnet(SubResource subnet)

Set the subnet property: Reference to the subnet resource.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayIpConfigurationInner

public ApplicationGatewayIpConfigurationInner()

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

Reads an instance of ApplicationGatewayIpConfigurationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

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

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

subnet

public SubResource subnet()

Get the subnet property: Reference to the subnet resource. A subnet from where application gateway gets its private address.

Returns:

the subnet value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

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

Overrides:

ApplicationGatewayIpConfigurationInner.withId(String id)

Parameters:

id

withName

public ApplicationGatewayIpConfigurationInner withName(String name)

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

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayIpConfigurationInner object itself.

withSubnet

public ApplicationGatewayIpConfigurationInner withSubnet(SubResource subnet)

Set the subnet property: Reference to the subnet resource. A subnet from where application gateway gets its private address.

Parameters:

subnet - the subnet value to set.

Returns:

the ApplicationGatewayIpConfigurationInner object itself.

Applies to