IpamPoolProperties Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. IpamPoolProperties
- com.
Implements
public final class IpamPoolProperties
implements JsonSerializable<IpamPoolProperties>
Properties of IpamPool resource properties which are specific to the Pool resource.
Constructor Summary
| Constructor | Description |
|---|---|
| IpamPoolProperties() |
Creates an instance of Ipam |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
addressPrefixes()
Get the address |
| String |
description()
Get the description property: The description property. |
| String |
displayName()
Get the display |
|
static
Ipam |
fromJson(JsonReader jsonReader)
Reads an instance of Ipam |
|
List<Ip |
ipAddressType()
Get the ip |
| String |
maxAllocationSize()
Get the max |
| String |
minAllocationSize()
Get the min |
| String |
parentPoolName()
Get the parent |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Ipam |
withAddressPrefixes(List<String> addressPrefixes)
Set the address |
|
Ipam |
withDescription(String description)
Set the description property: The description property. |
|
Ipam |
withDisplayName(String displayName)
Set the display |
|
Ipam |
withMaxAllocationSize(String maxAllocationSize)
Set the max |
|
Ipam |
withMinAllocationSize(String minAllocationSize)
Set the min |
|
Ipam |
withParentPoolName(String parentPoolName)
Set the parent |
Methods inherited from java.lang.Object
Constructor Details
IpamPoolProperties
public IpamPoolProperties()
Creates an instance of IpamPoolProperties class.
Method Details
addressPrefixes
public List<String> addressPrefixes()
Get the addressPrefixes property: List of IP address prefixes of the resource.
Returns:
description
public String description()
Get the description property: The description property.
Returns:
displayName
public String displayName()
Get the displayName property: String representing a friendly name for the resource.
Returns:
fromJson
public static IpamPoolProperties fromJson(JsonReader jsonReader)
Reads an instance of IpamPoolProperties from the JsonReader.
Parameters:
Returns:
Throws:
ipAddressType
public List<IpType> ipAddressType()
Get the ipAddressType property: List of IP address type for the IpamPool.
Returns:
maxAllocationSize
public String maxAllocationSize()
Get the maxAllocationSize property: Maximum number of IP addresses allowed for allocations from this IpamPool to be compliant. Must be greater than or equal to the minimum allocation size. If not specified or empty, no maximum is enforced.
Returns:
minAllocationSize
public String minAllocationSize()
Get the minAllocationSize property: Minimum number of IP addresses required for allocations from this IpamPool to be compliant. Must be less than or equal to the maximum allocation size. If not specified or empty, no minimum is enforced.
Returns:
parentPoolName
public String parentPoolName()
Get the parentPoolName property: String representing parent IpamPool resource name. If empty the IpamPool will be a root pool.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning states of a resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAddressPrefixes
public IpamPoolProperties withAddressPrefixes(List<String> addressPrefixes)
Set the addressPrefixes property: List of IP address prefixes of the resource.
Parameters:
Returns:
withDescription
public IpamPoolProperties withDescription(String description)
Set the description property: The description property.
Parameters:
Returns:
withDisplayName
public IpamPoolProperties withDisplayName(String displayName)
Set the displayName property: String representing a friendly name for the resource.
Parameters:
Returns:
withMaxAllocationSize
public IpamPoolProperties withMaxAllocationSize(String maxAllocationSize)
Set the maxAllocationSize property: Maximum number of IP addresses allowed for allocations from this IpamPool to be compliant. Must be greater than or equal to the minimum allocation size. If not specified or empty, no maximum is enforced.
Parameters:
Returns:
withMinAllocationSize
public IpamPoolProperties withMinAllocationSize(String minAllocationSize)
Set the minAllocationSize property: Minimum number of IP addresses required for allocations from this IpamPool to be compliant. Must be less than or equal to the maximum allocation size. If not specified or empty, no minimum is enforced.
Parameters:
Returns:
withParentPoolName
public IpamPoolProperties withParentPoolName(String parentPoolName)
Set the parentPoolName property: String representing parent IpamPool resource name. If empty the IpamPool will be a root pool.
Parameters:
Returns: