IPConfiguration Class

  • java.lang.Object
    • com.microsoft.azure.SubResource
      • com.microsoft.azure.management.network.IPConfiguration

public class IPConfiguration
extends com.microsoft.azure.SubResource

IP configuration.

Constructor Summary

Constructor Description
IPConfiguration()

Method Summary

Modifier and Type Method and Description
java.lang.String etag()

Get a unique read-only string that changes whenever the resource is updated.

java.lang.String name()

Get the name of the resource that is unique within a resource group.

java.lang.String privateIPAddress()

Get the private IP address of the IP configuration.

IPAllocationMethod privateIPAllocationMethod()

Get the private IP address allocation method.

ProvisioningState provisioningState()

Get the provisioning state of the IP configuration resource.

com.microsoft.azure.management.network.implementation.PublicIPAddressInner publicIPAddress()

Get the reference to the public IP resource.

com.microsoft.azure.management.network.implementation.SubnetInner subnet()

Get the reference to the subnet resource.

IPConfiguration withName(String name)

Set the name of the resource that is unique within a resource group.

IPConfiguration withPrivateIPAddress(String privateIPAddress)

Set the private IP address of the IP configuration.

IPConfiguration withPrivateIPAllocationMethod(IPAllocationMethod privateIPAllocationMethod)

Set the private IP address allocation method.

IPConfiguration withPublicIPAddress(PublicIPAddressInner publicIPAddress)

Set the reference to the public IP resource.

IPConfiguration withSubnet(SubnetInner subnet)

Set the reference to the subnet resource.

Methods inherited from com.microsoft.azure.SubResource

com.microsoft.azure.SubResource.id com.microsoft.azure.SubResource.withId

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

IPConfiguration

public IPConfiguration()

Method Details

etag

public String etag()

Get a unique read-only string that changes whenever the resource is updated.

Returns:

the etag value

name

public String name()

Get the name of the resource that is unique within a resource group. This name can be used to access the resource.

Returns:

the name value

privateIPAddress

public String privateIPAddress()

Get the private IP address of the IP configuration.

Returns:

the privateIPAddress value

privateIPAllocationMethod

public IPAllocationMethod privateIPAllocationMethod()

Get the private IP address allocation method. Possible values include: 'Static', 'Dynamic'.

Returns:

the privateIPAllocationMethod value

provisioningState

public ProvisioningState provisioningState()

Get the provisioning state of the IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.

Returns:

the provisioningState value

publicIPAddress

public PublicIPAddressInner publicIPAddress()

Get the reference to the public IP resource.

Returns:

the publicIPAddress value

subnet

public SubnetInner subnet()

Get the reference to the subnet resource.

Returns:

the subnet value

withName

public IPConfiguration withName(String name)

Set the name of the resource that is unique within a resource group. This name can be used to access the resource.

Parameters:

name - the name value to set

Returns:

the IPConfiguration object itself.

withPrivateIPAddress

public IPConfiguration withPrivateIPAddress(String privateIPAddress)

Set the private IP address of the IP configuration.

Parameters:

privateIPAddress - the privateIPAddress value to set

Returns:

the IPConfiguration object itself.

withPrivateIPAllocationMethod

public IPConfiguration withPrivateIPAllocationMethod(IPAllocationMethod privateIPAllocationMethod)

Set the private IP address allocation method. Possible values include: 'Static', 'Dynamic'.

Parameters:

privateIPAllocationMethod - the privateIPAllocationMethod value to set

Returns:

the IPConfiguration object itself.

withPublicIPAddress

public IPConfiguration withPublicIPAddress(PublicIPAddressInner publicIPAddress)

Set the reference to the public IP resource.

Parameters:

publicIPAddress - the publicIPAddress value to set

Returns:

the IPConfiguration object itself.

withSubnet

public IPConfiguration withSubnet(SubnetInner subnet)

Set the reference to the subnet resource.

Parameters:

subnet - the subnet value to set

Returns:

the IPConfiguration object itself.

Applies to