ExpressRouteProviderPortInner Class

public final class ExpressRouteProviderPortInner
extends Resource

ExpressRouteProviderPort resource.

Method Summary

Modifier and Type Method and Description
String etag()

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

static ExpressRouteProviderPortInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteProviderPortInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

Integer overprovisionFactor()

Get the overprovisionFactor property: Overprovisioning factor for the port pair.

String peeringLocation()

Get the peeringLocation property: The peering location of the port pair.

Integer portBandwidthInMbps()

Get the portBandwidthInMbps property: Bandwidth of the port in Mbps.

String portPairDescriptor()

Get the portPairDescriptor property: The name of the port pair.

String primaryAzurePort()

Get the primaryAzurePort property: The name of the primary port.

Integer remainingBandwidthInMbps()

Get the remainingBandwidthInMbps property: Remaining Bandwidth of the port in Mbps.

String secondaryAzurePort()

Get the secondaryAzurePort property: The name of the secondary port.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

Integer usedBandwidthInMbps()

Get the usedBandwidthInMbps property: Used Bandwidth of the port in Mbps.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Method Details

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 ExpressRouteProviderPortInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteProviderPortInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRouteProviderPortInner 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: Fully qualified resource Id for the resource.

Overrides:

ExpressRouteProviderPortInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ExpressRouteProviderPortInner.name()

Returns:

the name value.

overprovisionFactor

public Integer overprovisionFactor()

Get the overprovisionFactor property: Overprovisioning factor for the port pair.

Returns:

the overprovisionFactor value.

peeringLocation

public String peeringLocation()

Get the peeringLocation property: The peering location of the port pair.

Returns:

the peeringLocation value.

portBandwidthInMbps

public Integer portBandwidthInMbps()

Get the portBandwidthInMbps property: Bandwidth of the port in Mbps.

Returns:

the portBandwidthInMbps value.

portPairDescriptor

public String portPairDescriptor()

Get the portPairDescriptor property: The name of the port pair.

Returns:

the portPairDescriptor value.

primaryAzurePort

public String primaryAzurePort()

Get the primaryAzurePort property: The name of the primary port.

Returns:

the primaryAzurePort value.

remainingBandwidthInMbps

public Integer remainingBandwidthInMbps()

Get the remainingBandwidthInMbps property: Remaining Bandwidth of the port in Mbps.

Returns:

the remainingBandwidthInMbps value.

secondaryAzurePort

public String secondaryAzurePort()

Get the secondaryAzurePort property: The name of the secondary port.

Returns:

the secondaryAzurePort value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExpressRouteProviderPortInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ExpressRouteProviderPortInner.type()

Returns:

the type value.

usedBandwidthInMbps

public Integer usedBandwidthInMbps()

Get the usedBandwidthInMbps property: Used Bandwidth of the port in Mbps.

Returns:

the usedBandwidthInMbps value.

validate

public void validate()

Validates the instance.

Applies to