Class VirtualWanProperties


  • public final class VirtualWanProperties
    extends Object
    Parameters for VirtualWAN.
    • Constructor Detail

      • VirtualWanProperties

        public VirtualWanProperties()
    • Method Detail

      • disableVpnEncryption

        public Boolean disableVpnEncryption()
        Get the disableVpnEncryption property: Vpn encryption to be disabled or not.
        Returns:
        the disableVpnEncryption value.
      • withDisableVpnEncryption

        public VirtualWanProperties withDisableVpnEncryption​(Boolean disableVpnEncryption)
        Set the disableVpnEncryption property: Vpn encryption to be disabled or not.
        Parameters:
        disableVpnEncryption - the disableVpnEncryption value to set.
        Returns:
        the VirtualWanProperties object itself.
      • virtualHubs

        public List<com.azure.core.management.SubResource> virtualHubs()
        Get the virtualHubs property: List of VirtualHubs in the VirtualWAN.
        Returns:
        the virtualHubs value.
      • vpnSites

        public List<com.azure.core.management.SubResource> vpnSites()
        Get the vpnSites property: List of VpnSites in the VirtualWAN.
        Returns:
        the vpnSites value.
      • allowBranchToBranchTraffic

        public Boolean allowBranchToBranchTraffic()
        Get the allowBranchToBranchTraffic property: True if branch to branch traffic is allowed.
        Returns:
        the allowBranchToBranchTraffic value.
      • withAllowBranchToBranchTraffic

        public VirtualWanProperties withAllowBranchToBranchTraffic​(Boolean allowBranchToBranchTraffic)
        Set the allowBranchToBranchTraffic property: True if branch to branch traffic is allowed.
        Parameters:
        allowBranchToBranchTraffic - the allowBranchToBranchTraffic value to set.
        Returns:
        the VirtualWanProperties object itself.
      • allowVnetToVnetTraffic

        public Boolean allowVnetToVnetTraffic()
        Get the allowVnetToVnetTraffic property: True if Vnet to Vnet traffic is allowed.
        Returns:
        the allowVnetToVnetTraffic value.
      • withAllowVnetToVnetTraffic

        public VirtualWanProperties withAllowVnetToVnetTraffic​(Boolean allowVnetToVnetTraffic)
        Set the allowVnetToVnetTraffic property: True if Vnet to Vnet traffic is allowed.
        Parameters:
        allowVnetToVnetTraffic - the allowVnetToVnetTraffic value to set.
        Returns:
        the VirtualWanProperties object itself.
      • office365LocalBreakoutCategory

        public OfficeTrafficCategory office365LocalBreakoutCategory()
        Get the office365LocalBreakoutCategory property: The office local breakout category.
        Returns:
        the office365LocalBreakoutCategory value.
      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: The provisioning state of the virtual WAN resource.
        Returns:
        the provisioningState value.
      • type

        public String type()
        Get the type property: The type of the VirtualWAN.
        Returns:
        the type value.
      • withType

        public VirtualWanProperties withType​(String type)
        Set the type property: The type of the VirtualWAN.
        Parameters:
        type - the type value to set.
        Returns:
        the VirtualWanProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.