Network.UpdateStages.WithAddressSpace Interface

public static interface Network.UpdateStages.WithAddressSpace

The stage of the virtual network update allowing to specify the address space.

Method Summary

Modifier and Type Method and Description
abstract Update withAddressSpace(String cidr)

Explicitly adds an address space to the virtual network.

abstract Update withoutAddressSpace(String cidr)

Removes the specified address space from the virtual network, assuming it's not in use bu any of the subnets.

Method Details

withAddressSpace

public abstract Network.Update withAddressSpace(String cidr)

Explicitly adds an address space to the virtual network.

Note this method's effect is additive, i.e. each time it is used, a new address space is added to the network.

This method does not check for conflicts or overlaps with other address spaces. If there is a conflict, a cloud exception may be thrown after the update is applied.

Parameters:

cidr - the CIDR representation of the address space

Returns:

the next stage of the update

withoutAddressSpace

public abstract Network.Update withoutAddressSpace(String cidr)

Removes the specified address space from the virtual network, assuming it's not in use bu any of the subnets.

Parameters:

cidr - the address space to remove, in CIDR format, matching exactly one of the CIDRs associated with this network

Returns:

the next stage of the update

Applies to