VirtualWanInner Class

public final class VirtualWanInner
extends Resource

VirtualWAN Resource.

Constructor Summary

Constructor Description
VirtualWanInner()

Creates an instance of VirtualWanInner 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.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static VirtualWanInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualWanInner from the JsonReader.

String id()

Get the id property: Resource ID.

String name()

Get the name property: The name of the resource.

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 resource.

String typePropertiesType()

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.

VirtualWanInner withAllowBranchToBranchTraffic(Boolean allowBranchToBranchTraffic)

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

VirtualWanInner withAllowVnetToVnetTraffic(Boolean allowVnetToVnetTraffic)

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

VirtualWanInner withDisableVpnEncryption(Boolean disableVpnEncryption)

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

VirtualWanInner withId(String id)

Set the id property: Resource ID.

VirtualWanInner withLocation(String location)
VirtualWanInner withTags(Map<String,String> tags)
VirtualWanInner withTypePropertiesType(String type)

Set the type property: The type of the VirtualWAN.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

VirtualWanInner

public VirtualWanInner()

Creates an instance of VirtualWanInner 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.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static VirtualWanInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualWanInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualWanInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Resource ID.

Overrides:

VirtualWanInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

VirtualWanInner.name()

Returns:

the name value.

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)

Overrides:

VirtualWanInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

VirtualWanInner.type()

Returns:

the type value.

typePropertiesType

public String typePropertiesType()

Get the type property: The type of the VirtualWAN.

Returns:

the type value.

validate

public void validate()

Validates the instance.

virtualHubs

public List virtualHubs()

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

Returns:

the virtualHubs value.

vpnSites

public List vpnSites()

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

Returns:

the vpnSites value.

withAllowBranchToBranchTraffic

public VirtualWanInner withAllowBranchToBranchTraffic(Boolean allowBranchToBranchTraffic)

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

Parameters:

allowBranchToBranchTraffic - the allowBranchToBranchTraffic value to set.

Returns:

the VirtualWanInner object itself.

withAllowVnetToVnetTraffic

public VirtualWanInner withAllowVnetToVnetTraffic(Boolean allowVnetToVnetTraffic)

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

Parameters:

allowVnetToVnetTraffic - the allowVnetToVnetTraffic value to set.

Returns:

the VirtualWanInner object itself.

withDisableVpnEncryption

public VirtualWanInner withDisableVpnEncryption(Boolean disableVpnEncryption)

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

Parameters:

disableVpnEncryption - the disableVpnEncryption value to set.

Returns:

the VirtualWanInner object itself.

withId

public VirtualWanInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the VirtualWanInner object itself.

withLocation

public VirtualWanInner withLocation(String location)

Overrides:

VirtualWanInner.withLocation(String location)

Parameters:

location

withTags

public VirtualWanInner withTags(Map tags)

Overrides:

VirtualWanInner.withTags(Map<String,String> tags)

Parameters:

tags

withTypePropertiesType

public VirtualWanInner withTypePropertiesType(String type)

Set the type property: The type of the VirtualWAN.

Parameters:

type - the type value to set.

Returns:

the VirtualWanInner object itself.

Applies to