Interface VirtualNetworkPeering.DefinitionStages.WithUseRemoteGateways

All Known Subinterfaces:
VirtualNetworkPeering.Definition, VirtualNetworkPeering.DefinitionStages.WithCreate
Enclosing interface:
VirtualNetworkPeering.DefinitionStages

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

    • withUseRemoteGateways

      VirtualNetworkPeering.DefinitionStages.WithCreate 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.