AddressSpace Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. AddressSpace
- com.
public final 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() |
Creates an instance of Address |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
addressPrefixes()
Get the address |
void |
validate()
Validates the instance. |
Address |
withAddressPrefixes(List<String> addressPrefixes)
Set the address |
Methods inherited from java.lang.Object
Constructor Details
AddressSpace
public AddressSpace()
Creates an instance of AddressSpace class.
Method Details
addressPrefixes
public List
Get the addressPrefixes property: A list of address blocks reserved for this virtual network in CIDR notation.
Returns:
validate
public void validate()
Validates the instance.
withAddressPrefixes
public AddressSpace withAddressPrefixes(List
Set the addressPrefixes property: 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