Class IPConfiguration
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionetag()
Get a unique read-only string that changes whenever the resource is updated.name()
Get the name of the resource that is unique within a resource group.Get the private IP address of the IP configuration.Get the private IP address allocation method.Get the provisioning state of the IP configuration resource.com.microsoft.azure.management.network.implementation.PublicIPAddressInner
Get the reference to the public IP resource.com.microsoft.azure.management.network.implementation.SubnetInner
subnet()
Get the reference to the subnet resource.Set the name of the resource that is unique within a resource group.withPrivateIPAddress
(String privateIPAddress) Set the private IP address of the IP configuration.withPrivateIPAllocationMethod
(IPAllocationMethod privateIPAllocationMethod) Set the private IP address allocation method.withPublicIPAddress
(com.microsoft.azure.management.network.implementation.PublicIPAddressInner publicIPAddress) Set the reference to the public IP resource.withSubnet
(com.microsoft.azure.management.network.implementation.SubnetInner subnet) Set the reference to the subnet resource.Methods inherited from class com.microsoft.azure.SubResource
id, withId
-
Constructor Details
-
IPConfiguration
public IPConfiguration()
-
-
Method Details
-
privateIPAddress
Get the private IP address of the IP configuration.- Returns:
- the privateIPAddress value
-
withPrivateIPAddress
Set the private IP address of the IP configuration.- Parameters:
privateIPAddress
- the privateIPAddress value to set- Returns:
- the IPConfiguration object itself.
-
privateIPAllocationMethod
Get the private IP address allocation method. Possible values include: 'Static', 'Dynamic'.- Returns:
- the privateIPAllocationMethod value
-
withPrivateIPAllocationMethod
Set the private IP address allocation method. Possible values include: 'Static', 'Dynamic'.- Parameters:
privateIPAllocationMethod
- the privateIPAllocationMethod value to set- Returns:
- the IPConfiguration object itself.
-
subnet
public com.microsoft.azure.management.network.implementation.SubnetInner subnet()Get the reference to the subnet resource.- Returns:
- the subnet value
-
withSubnet
public IPConfiguration withSubnet(com.microsoft.azure.management.network.implementation.SubnetInner subnet) Set the reference to the subnet resource.- Parameters:
subnet
- the subnet value to set- Returns:
- the IPConfiguration object itself.
-
publicIPAddress
public com.microsoft.azure.management.network.implementation.PublicIPAddressInner publicIPAddress()Get the reference to the public IP resource.- Returns:
- the publicIPAddress value
-
withPublicIPAddress
public IPConfiguration withPublicIPAddress(com.microsoft.azure.management.network.implementation.PublicIPAddressInner publicIPAddress) Set the reference to the public IP resource.- Parameters:
publicIPAddress
- the publicIPAddress value to set- Returns:
- the IPConfiguration object itself.
-
provisioningState
Get the provisioning state of the IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.- Returns:
- the provisioningState value
-
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
-
withName
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.
-
etag
Get a unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value
-