Udostępnij przez


LoadBalancerFrontendIpConfigurationProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.LoadBalancerFrontendIpConfigurationProperties

Implements

public final class LoadBalancerFrontendIpConfigurationProperties
implements JsonSerializable<LoadBalancerFrontendIpConfigurationProperties>

Describes a cloud service IP Configuration.

Constructor Summary

Constructor Description
LoadBalancerFrontendIpConfigurationProperties()

Creates an instance of LoadBalancerFrontendIpConfigurationProperties class.

Method Summary

Modifier and Type Method and Description
static LoadBalancerFrontendIpConfigurationProperties fromJson(JsonReader jsonReader)

Reads an instance of LoadBalancerFrontendIpConfigurationProperties from the JsonReader.

String privateIpAddress()

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

SubResource publicIpAddress()

Get the publicIpAddress property: The reference to the public ip address resource.

SubResource subnet()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LoadBalancerFrontendIpConfigurationProperties withPrivateIpAddress(String privateIpAddress)

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

LoadBalancerFrontendIpConfigurationProperties withPublicIpAddress(SubResource publicIpAddress)

Set the publicIpAddress property: The reference to the public ip address resource.

LoadBalancerFrontendIpConfigurationProperties withSubnet(SubResource subnet)

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

Methods inherited from java.lang.Object

Constructor Details

LoadBalancerFrontendIpConfigurationProperties

public LoadBalancerFrontendIpConfigurationProperties()

Creates an instance of LoadBalancerFrontendIpConfigurationProperties class.

Method Details

fromJson

public static LoadBalancerFrontendIpConfigurationProperties fromJson(JsonReader jsonReader)

Reads an instance of LoadBalancerFrontendIpConfigurationProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

privateIpAddress

public String privateIpAddress()

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

Returns:

the privateIpAddress value.

publicIpAddress

public SubResource publicIpAddress()

Get the publicIpAddress property: The reference to the public ip address resource.

Returns:

the publicIpAddress value.

subnet

public SubResource subnet()

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

Returns:

the subnet value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPrivateIpAddress

public LoadBalancerFrontendIpConfigurationProperties withPrivateIpAddress(String privateIpAddress)

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

Parameters:

privateIpAddress - the privateIpAddress value to set.

Returns:

the LoadBalancerFrontendIpConfigurationProperties object itself.

withPublicIpAddress

public LoadBalancerFrontendIpConfigurationProperties withPublicIpAddress(SubResource publicIpAddress)

Set the publicIpAddress property: The reference to the public ip address resource.

Parameters:

publicIpAddress - the publicIpAddress value to set.

Returns:

the LoadBalancerFrontendIpConfigurationProperties object itself.

withSubnet

public LoadBalancerFrontendIpConfigurationProperties withSubnet(SubResource subnet)

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

Parameters:

subnet - the subnet value to set.

Returns:

the LoadBalancerFrontendIpConfigurationProperties object itself.

Applies to