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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the allowBranchToBranchTraffic property: True if branch to branch traffic is allowed.Get the allowVnetToVnetTraffic property: True if Vnet to Vnet traffic is allowed.Get the disableVpnEncryption property: Vpn encryption to be disabled or not.static VirtualWanPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VirtualWanProperties from the JsonReader.Get the office365LocalBreakoutCategory property: The office local breakout category.Get the provisioningState property: The provisioning state of the virtual WAN resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the VirtualWAN.voidvalidate()Validates the instance.List<com.azure.core.management.SubResource> Get the virtualHubs property: List of VirtualHubs in the VirtualWAN.List<com.azure.core.management.SubResource> vpnSites()Get the vpnSites property: List of VpnSites in the VirtualWAN.withAllowBranchToBranchTraffic(Boolean allowBranchToBranchTraffic) Set the allowBranchToBranchTraffic property: True if branch to branch traffic is allowed.withAllowVnetToVnetTraffic(Boolean allowVnetToVnetTraffic) Set the allowVnetToVnetTraffic property: True if Vnet to Vnet traffic is allowed.withDisableVpnEncryption(Boolean disableVpnEncryption) Set the disableVpnEncryption property: Vpn encryption to be disabled or not.Set the type property: The type of the VirtualWAN.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
VirtualWanProperties
public VirtualWanProperties()Creates an instance of VirtualWanProperties class.
-
-
Method Details
-
disableVpnEncryption
Get the disableVpnEncryption property: Vpn encryption to be disabled or not.- Returns:
- the disableVpnEncryption value.
-
withDisableVpnEncryption
Set the disableVpnEncryption property: Vpn encryption to be disabled or not.- Parameters:
disableVpnEncryption- the disableVpnEncryption value to set.- Returns:
- the VirtualWanProperties object itself.
-
virtualHubs
Get the virtualHubs property: List of VirtualHubs in the VirtualWAN.- Returns:
- the virtualHubs value.
-
vpnSites
Get the vpnSites property: List of VpnSites in the VirtualWAN.- Returns:
- the vpnSites value.
-
allowBranchToBranchTraffic
Get the allowBranchToBranchTraffic property: True if branch to branch traffic is allowed.- Returns:
- the allowBranchToBranchTraffic value.
-
withAllowBranchToBranchTraffic
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
Get the allowVnetToVnetTraffic property: True if Vnet to Vnet traffic is allowed.- Returns:
- the allowVnetToVnetTraffic value.
-
withAllowVnetToVnetTraffic
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
Get the office365LocalBreakoutCategory property: The office local breakout category.- Returns:
- the office365LocalBreakoutCategory value.
-
provisioningState
Get the provisioningState property: The provisioning state of the virtual WAN resource.- Returns:
- the provisioningState value.
-
type
Get the type property: The type of the VirtualWAN.- Returns:
- the type value.
-
withType
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
- Specified by:
toJsonin interfacecom.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.
-