Interface NetworkPeering.UpdateStages.WithAccess

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

public static interface NetworkPeering.UpdateStages.WithAccess
The stage of a network peering update allowing to control access from and to the remote network.
  • Method Details

    • withAccessBetweenBothNetworks

      NetworkPeering.Update withAccessBetweenBothNetworks()
      Enables access to either peered virtual network from the other.

      This setting will have effect on the remote network only if the remote network is in the same subscription. Otherwise, it will be ignored and you need to change the corresponding access setting on the remote network's matching peering explicitly.

      Returns:
      the next stage of the update
    • withoutAccessFromEitherNetwork

      NetworkPeering.Update withoutAccessFromEitherNetwork()
      Disallows access to either peered network from the other.

      This setting will have effect on the remote network only if the remote network is in the same subscription. Otherwise, it will be ignored and you need to change the corresponding access setting on the remote network's matching peering explicitly.

      Returns:
      the next stage of the update