AddressSpace Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. AddressSpace
- com.
Implements
public final class AddressSpace
implements JsonSerializable<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 |
static
Address |
fromJson(JsonReader jsonReader)
Reads an instance of Address |
Json |
toJson(JsonWriter jsonWriter) |
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:
fromJson
public static AddressSpace fromJson(JsonReader jsonReader)
Reads an instance of AddressSpace from the JsonReader.
Parameters:
Returns:
Throws:
toJson
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