Interface Network.UpdateStages.WithAddressSpace

All Known Subinterfaces:
Network.Update
Enclosing interface:
Network.UpdateStages

public static interface Network.UpdateStages.WithAddressSpace
The stage of the virtual network update allowing to specify the address space.
  • Method Details

    • withAddressSpace

      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

      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