Class VirtualWanProperties

java.lang.Object
com.azure.resourcemanager.network.fluent.models.VirtualWanProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<VirtualWanProperties>

public final class VirtualWanProperties extends Object implements com.azure.json.JsonSerializable<VirtualWanProperties>
Parameters for VirtualWAN.
  • Constructor Details

    • VirtualWanProperties

      public VirtualWanProperties()
      Creates an instance of VirtualWanProperties class.
  • Method Details

    • 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.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<VirtualWanProperties>
      Throws:
      IOException
    • fromJson

      public static VirtualWanProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of VirtualWanProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of VirtualWanProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the VirtualWanProperties.