NetworkPeering.UpdateStages.WithAccess Interface
public static interface NetworkPeering.UpdateStages.WithAccess
The stage of a network peering update allowing to control access from and to the remote network.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withAccessBetweenBothNetworks()
Enables access to either peered virtual network from the other. |
abstract Update |
withoutAccessFromEitherNetwork()
Disallows access to either peered network from the other. |
Method Details
withAccessBetweenBothNetworks
public abstract 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:
withoutAccessFromEitherNetwork
public abstract 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: