VirtualWanProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.VirtualWanProperties

Implements

public final class VirtualWanProperties
implements JsonSerializable<VirtualWanProperties>

Parameters for VirtualWAN.

Constructor Summary

Constructor Description
VirtualWanProperties()

Creates an instance of VirtualWanProperties class.

Method Summary

Modifier and Type Method and Description
Boolean allowBranchToBranchTraffic()

Get the allowBranchToBranchTraffic property: True if branch to branch traffic is allowed.

Boolean allowVnetToVnetTraffic()

Get the allowVnetToVnetTraffic property: True if Vnet to Vnet traffic is allowed.

Boolean disableVpnEncryption()

Get the disableVpnEncryption property: Vpn encryption to be disabled or not.

static VirtualWanProperties fromJson(JsonReader jsonReader)

Reads an instance of VirtualWanProperties from the JsonReader.

OfficeTrafficCategory office365LocalBreakoutCategory()

Get the office365LocalBreakoutCategory property: The office local breakout category.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the virtual WAN resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the VirtualWAN.

void validate()

Validates the instance.

List<SubResource> virtualHubs()

Get the virtualHubs property: List of VirtualHubs in the VirtualWAN.

List<SubResource> vpnSites()

Get the vpnSites property: List of VpnSites in the VirtualWAN.

VirtualWanProperties withAllowBranchToBranchTraffic(Boolean allowBranchToBranchTraffic)

Set the allowBranchToBranchTraffic property: True if branch to branch traffic is allowed.

VirtualWanProperties withAllowVnetToVnetTraffic(Boolean allowVnetToVnetTraffic)

Set the allowVnetToVnetTraffic property: True if Vnet to Vnet traffic is allowed.

VirtualWanProperties withDisableVpnEncryption(Boolean disableVpnEncryption)

Set the disableVpnEncryption property: Vpn encryption to be disabled or not.

VirtualWanProperties withType(String type)

Set the type property: The type of the VirtualWAN.

Methods inherited from java.lang.Object

Constructor Details

VirtualWanProperties

public VirtualWanProperties()

Creates an instance of VirtualWanProperties class.

Method Details

allowBranchToBranchTraffic

public Boolean allowBranchToBranchTraffic()

Get the allowBranchToBranchTraffic property: True if branch to branch traffic is allowed.

Returns:

the allowBranchToBranchTraffic value.

allowVnetToVnetTraffic

public Boolean allowVnetToVnetTraffic()

Get the allowVnetToVnetTraffic property: True if Vnet to Vnet traffic is allowed.

Returns:

the allowVnetToVnetTraffic value.

disableVpnEncryption

public Boolean disableVpnEncryption()

Get the disableVpnEncryption property: Vpn encryption to be disabled or not.

Returns:

the disableVpnEncryption value.

fromJson

public static VirtualWanProperties fromJson(JsonReader jsonReader)

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.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the VirtualWAN.

Returns:

the type value.

validate

public void validate()

Validates the instance.

virtualHubs

public List<SubResource> virtualHubs()

Get the virtualHubs property: List of VirtualHubs in the VirtualWAN.

Returns:

the virtualHubs value.

vpnSites

public List<SubResource> vpnSites()

Get the vpnSites property: List of VpnSites in the VirtualWAN.

Returns:

the vpnSites 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.

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.

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.

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.

Applies to