ExpressRouteGatewayInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. ExpressRouteGatewayInner
- com.
- com.
- com.
public final class ExpressRouteGatewayInner
extends Resource
ExpressRoute gateway resource.
Constructor Summary
Constructor | Description |
---|---|
ExpressRouteGatewayInner() |
Creates an instance of Express |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
allowNonVirtualWanTraffic()
Get the allow |
Express |
autoScaleConfiguration()
Get the auto |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
List<Express |
expressRouteConnections()
Get the express |
static
Express |
fromJson(JsonReader jsonReader)
Reads an instance of Express |
String |
id()
Get the id property: Resource ID. |
String |
name()
Get the name property: The name of the resource. |
Provisioning |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Virtual |
virtualHub()
Get the virtual |
Express |
withAllowNonVirtualWanTraffic(Boolean allowNonVirtualWanTraffic)
Set the allow |
Express |
withAutoScaleConfiguration(ExpressRouteGatewayPropertiesAutoScaleConfiguration autoScaleConfiguration)
Set the auto |
Express |
withExpressRouteConnections(List<ExpressRouteConnectionInner> expressRouteConnections)
Set the express |
Express |
withId(String id)
Set the id property: Resource ID. |
Express |
withLocation(String location) |
Express |
withTags(Map<String,String> tags) |
Express |
withVirtualHub(VirtualHubId virtualHub)
Set the virtual |
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:
autoScaleConfiguration
public ExpressRouteGatewayPropertiesAutoScaleConfiguration autoScaleConfiguration()
Get the autoScaleConfiguration property: Configuration for auto scaling.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
expressRouteConnections
public List
Get the expressRouteConnections property: List of ExpressRoute connections to the ExpressRoute gateway.
Returns:
fromJson
public static ExpressRouteGatewayInner fromJson(JsonReader jsonReader)
Reads an instance of ExpressRouteGatewayInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
ExpressRouteGatewayInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ExpressRouteGatewayInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the express route gateway resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ExpressRouteGatewayInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ExpressRouteGatewayInner.type()Returns:
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:
withAllowNonVirtualWanTraffic
public ExpressRouteGatewayInner withAllowNonVirtualWanTraffic(Boolean allowNonVirtualWanTraffic)
Set the allowNonVirtualWanTraffic property: Configures this gateway to accept traffic from non Virtual WAN networks.
Parameters:
Returns:
withAutoScaleConfiguration
public ExpressRouteGatewayInner withAutoScaleConfiguration(ExpressRouteGatewayPropertiesAutoScaleConfiguration autoScaleConfiguration)
Set the autoScaleConfiguration property: Configuration for auto scaling.
Parameters:
Returns:
withExpressRouteConnections
public ExpressRouteGatewayInner withExpressRouteConnections(List
Set the expressRouteConnections property: List of ExpressRoute connections to the ExpressRoute gateway.
Parameters:
Returns:
withId
public ExpressRouteGatewayInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withLocation
public ExpressRouteGatewayInner withLocation(String location)
Overrides:
ExpressRouteGatewayInner.withLocation(String location)Parameters:
withTags
public ExpressRouteGatewayInner withTags(Map
Overrides:
ExpressRouteGatewayInner.withTags(Map<String,String> tags)Parameters:
withVirtualHub
public ExpressRouteGatewayInner withVirtualHub(VirtualHubId virtualHub)
Set the virtualHub property: The Virtual Hub where the ExpressRoute gateway is or will be deployed.
Parameters:
Returns:
Applies to
Azure SDK for Java