ExpressRouteGatewayInner Class

public final class ExpressRouteGatewayInner
extends Resource

ExpressRoute gateway resource.

Constructor Summary

Constructor Description
ExpressRouteGatewayInner()

Creates an instance of ExpressRouteGatewayInner class.

Method Summary

Modifier and Type Method and Description
Boolean allowNonVirtualWanTraffic()

Get the allowNonVirtualWanTraffic property: Configures this gateway to accept traffic from non Virtual WAN networks.

ExpressRouteGatewayPropertiesAutoScaleConfiguration autoScaleConfiguration()

Get the autoScaleConfiguration property: Configuration for auto scaling.

String etag()

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

List<ExpressRouteConnectionInner> expressRouteConnections()

Get the expressRouteConnections property: List of ExpressRoute connections to the ExpressRoute gateway.

static ExpressRouteGatewayInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteGatewayInner from the JsonReader.

String id()

Get the id property: Resource ID.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the express route gateway resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

VirtualHubId virtualHub()

Get the virtualHub property: The Virtual Hub where the ExpressRoute gateway is or will be deployed.

ExpressRouteGatewayInner withAllowNonVirtualWanTraffic(Boolean allowNonVirtualWanTraffic)

Set the allowNonVirtualWanTraffic property: Configures this gateway to accept traffic from non Virtual WAN networks.

ExpressRouteGatewayInner withAutoScaleConfiguration(ExpressRouteGatewayPropertiesAutoScaleConfiguration autoScaleConfiguration)

Set the autoScaleConfiguration property: Configuration for auto scaling.

ExpressRouteGatewayInner withExpressRouteConnections(List<ExpressRouteConnectionInner> expressRouteConnections)

Set the expressRouteConnections property: List of ExpressRoute connections to the ExpressRoute gateway.

ExpressRouteGatewayInner withId(String id)

Set the id property: Resource ID.

ExpressRouteGatewayInner withLocation(String location)
ExpressRouteGatewayInner withTags(Map<String,String> tags)
ExpressRouteGatewayInner withVirtualHub(VirtualHubId virtualHub)

Set the virtualHub property: The Virtual Hub where the ExpressRoute gateway is or will be deployed.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteGatewayInner

public ExpressRouteGatewayInner()

Creates an instance of ExpressRouteGatewayInner class.

Method Details

allowNonVirtualWanTraffic

public Boolean allowNonVirtualWanTraffic()

Get the allowNonVirtualWanTraffic property: Configures this gateway to accept traffic from non Virtual WAN networks.

Returns:

the allowNonVirtualWanTraffic value.

autoScaleConfiguration

public ExpressRouteGatewayPropertiesAutoScaleConfiguration autoScaleConfiguration()

Get the autoScaleConfiguration property: Configuration for auto scaling.

Returns:

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

expressRouteConnections

public List expressRouteConnections()

Get the expressRouteConnections property: List of ExpressRoute connections to the ExpressRoute gateway.

Returns:

the expressRouteConnections value.

fromJson

public static ExpressRouteGatewayInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteGatewayInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRouteGatewayInner 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:

ExpressRouteGatewayInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ExpressRouteGatewayInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the express route gateway resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExpressRouteGatewayInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ExpressRouteGatewayInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

virtualHub

public VirtualHubId virtualHub()

Get the virtualHub property: The Virtual Hub where the ExpressRoute gateway is or will be deployed.

Returns:

the virtualHub value.

withAllowNonVirtualWanTraffic

public ExpressRouteGatewayInner withAllowNonVirtualWanTraffic(Boolean allowNonVirtualWanTraffic)

Set the allowNonVirtualWanTraffic property: Configures this gateway to accept traffic from non Virtual WAN networks.

Parameters:

allowNonVirtualWanTraffic - the allowNonVirtualWanTraffic value to set.

Returns:

the ExpressRouteGatewayInner object itself.

withAutoScaleConfiguration

public ExpressRouteGatewayInner withAutoScaleConfiguration(ExpressRouteGatewayPropertiesAutoScaleConfiguration autoScaleConfiguration)

Set the autoScaleConfiguration property: Configuration for auto scaling.

Parameters:

autoScaleConfiguration - the autoScaleConfiguration value to set.

Returns:

the ExpressRouteGatewayInner object itself.

withExpressRouteConnections

public ExpressRouteGatewayInner withExpressRouteConnections(List expressRouteConnections)

Set the expressRouteConnections property: List of ExpressRoute connections to the ExpressRoute gateway.

Parameters:

expressRouteConnections - the expressRouteConnections value to set.

Returns:

the ExpressRouteGatewayInner object itself.

withId

public ExpressRouteGatewayInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the ExpressRouteGatewayInner object itself.

withLocation

public ExpressRouteGatewayInner withLocation(String location)

Overrides:

ExpressRouteGatewayInner.withLocation(String location)

Parameters:

location

withTags

public ExpressRouteGatewayInner withTags(Map tags)

Overrides:

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

Parameters:

tags

withVirtualHub

public ExpressRouteGatewayInner withVirtualHub(VirtualHubId virtualHub)

Set the virtualHub property: The Virtual Hub where the ExpressRoute gateway is or will be deployed.

Parameters:

virtualHub - the virtualHub value to set.

Returns:

the ExpressRouteGatewayInner object itself.

Applies to