IPConfiguration Class
- java.
lang. Object - com.
microsoft. azure. SubResource - com.
microsoft. azure. management. network. IPConfiguration
- com.
- com.
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. |
IPAllocation |
privateIPAllocationMethod()
Get the private IP address allocation method. |
Provisioning |
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
Methods inherited from java.lang.Object
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:
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:
privateIPAddress
public String privateIPAddress()
Get the private IP address of the IP configuration.
Returns:
privateIPAllocationMethod
public IPAllocationMethod privateIPAllocationMethod()
Get the private IP address allocation method. Possible values include: 'Static', 'Dynamic'.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioning state of the IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
Returns:
publicIPAddress
public PublicIPAddressInner publicIPAddress()
Get the reference to the public IP resource.
Returns:
subnet
public SubnetInner subnet()
Get the reference to the subnet resource.
Returns:
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:
Returns:
withPrivateIPAddress
public IPConfiguration withPrivateIPAddress(String privateIPAddress)
Set the private IP address of the IP configuration.
Parameters:
Returns:
withPrivateIPAllocationMethod
public IPConfiguration withPrivateIPAllocationMethod(IPAllocationMethod privateIPAllocationMethod)
Set the private IP address allocation method. Possible values include: 'Static', 'Dynamic'.
Parameters:
Returns:
withPublicIPAddress
public IPConfiguration withPublicIPAddress(PublicIPAddressInner publicIPAddress)
Set the reference to the public IP resource.
Parameters:
Returns:
withSubnet
public IPConfiguration withSubnet(SubnetInner subnet)
Set the reference to the subnet resource.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for