AddressSpace Class

  • java.lang.Object
    • com.microsoft.azure.management.network.AddressSpace

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.

AddressSpace withAddressPrefixes(List<String> addressPrefixes)

Set a list of address blocks reserved for this virtual network in CIDR notation.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AddressSpace

public AddressSpace()

Method Details

addressPrefixes

public List addressPrefixes()

Get a list of address blocks reserved for this virtual network in CIDR notation.

Returns:

the addressPrefixes value

withAddressPrefixes

public AddressSpace withAddressPrefixes(List addressPrefixes)

Set a list of address blocks reserved for this virtual network in CIDR notation.

Parameters:

addressPrefixes - the addressPrefixes value to set

Returns:

the AddressSpace object itself.

Applies to