AddressSpace Class
- java.
lang. Object - com.
microsoft. azure. management. network. AddressSpace
- com.
public class AddressSpace
AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.
Constructor Summary
Constructor | Description | |
---|---|---|
AddressSpace() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
addressPrefixes()
Get a list of address blocks reserved for this virtual network in CIDR notation. |
Address |
withAddressPrefixes(List<String> addressPrefixes)
Set a list of address blocks reserved for this virtual network in CIDR notation. |
Methods inherited from java.lang.Object
Constructor Details
AddressSpace
public AddressSpace()
Method Details
addressPrefixes
public List
Get a list of address blocks reserved for this virtual network in CIDR notation.
Returns:
withAddressPrefixes
public AddressSpace withAddressPrefixes(List
Set a list of address blocks reserved for this virtual network in CIDR notation.
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