NetworkPeering.UpdateStages.WithAccess Interface

public interface 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
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.

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.

Method Details

withAccessBetweenBothNetworks

public 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

public 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

Applies to