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 | Description | |
---|---|---|
IPConfiguration() |
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 |
private Get the private IP address of the IP configuration. |
IPAllocation |
private Get the private IP address allocation method. |
Provisioning |
provisioning Get the provisioning state of the IP configuration resource. |
com.microsoft.azure.management.network.implementation.PublicIPAddressInner |
public Get the reference to the public IP resource. |
com.microsoft.azure.management.network.implementation.SubnetInner |
subnet()
Get the reference to the subnet resource. |
IPConfiguration |
with Set the name of the resource that is unique within a resource group. |
IPConfiguration |
with Set the private IP address of the IP configuration. |
IPConfiguration |
with Set the private IP address allocation method. |
IPConfiguration |
with Set the reference to the public IP resource. |
IPConfiguration |
with Set the reference to the subnet resource. |
IPConfiguration
public IPConfiguration()
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: