Interface VirtualNetworkPeering.UpdateStages.WithUseRemoteGateways

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

public static interface VirtualNetworkPeering.UpdateStages.WithUseRemoteGateways
The stage of the VirtualNetworkPeering update allowing to specify useRemoteGateways.
  • Method Details

    • withUseRemoteGateways

      VirtualNetworkPeering.Update withUseRemoteGateways(Boolean useRemoteGateways)
      Specifies the useRemoteGateways property: If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway..
      Parameters:
      useRemoteGateways - If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
      Returns:
      the next definition stage.