IpamPoolPrefixAllocation Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. IpamPoolPrefixAllocation
- com.
Implements
public final class IpamPoolPrefixAllocation
implements JsonSerializable<IpamPoolPrefixAllocation>
IpamPool prefix allocation reference.
Constructor Summary
Constructor | Description |
---|---|
IpamPoolPrefixAllocation() |
Creates an instance of Ipam |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
allocatedAddressPrefixes()
Get the allocated |
static
Ipam |
fromJson(JsonReader jsonReader)
Reads an instance of Ipam |
String |
id()
Get the id property: Resource id of the associated Azure Ipam |
String |
numberOfIpAddresses()
Get the number |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Ipam |
withId(String id)
Set the id property: Resource id of the associated Azure Ipam |
Ipam |
withNumberOfIpAddresses(String numberOfIpAddresses)
Set the number |
Methods inherited from java.lang.Object
Constructor Details
IpamPoolPrefixAllocation
public IpamPoolPrefixAllocation()
Creates an instance of IpamPoolPrefixAllocation class.
Method Details
allocatedAddressPrefixes
public List
Get the allocatedAddressPrefixes property: List of assigned IP address prefixes in the IpamPool of the associated resource.
Returns:
fromJson
public static IpamPoolPrefixAllocation fromJson(JsonReader jsonReader)
Reads an instance of IpamPoolPrefixAllocation from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource id of the associated Azure IpamPool resource.
Returns:
numberOfIpAddresses
public String numberOfIpAddresses()
Get the numberOfIpAddresses property: Number of IP addresses to allocate.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public IpamPoolPrefixAllocation withId(String id)
Set the id property: Resource id of the associated Azure IpamPool resource.
Parameters:
Returns:
withNumberOfIpAddresses
public IpamPoolPrefixAllocation withNumberOfIpAddresses(String numberOfIpAddresses)
Set the numberOfIpAddresses property: Number of IP addresses to allocate.
Parameters:
Returns:
Applies to
Azure SDK for Java