ExpressRoutePortInner Class

public final class ExpressRoutePortInner
extends Resource

ExpressRoute Port ExpressRoutePort resource definition.

Constructor Summary

Constructor Description
ExpressRoutePortInner()

Creates an instance of ExpressRoutePortInner class.

Method Summary

Modifier and Type Method and Description
String allocationDate()

Get the allocationDate property: Date of the physical port allocation to be used in Letter of Authorization.

Integer bandwidthInGbps()

Get the bandwidthInGbps property: Bandwidth of procured ports in Gbps.

ExpressRoutePortsBillingType billingType()

Get the billingType property: The billing type of the ExpressRoutePort resource.

List<SubResource> circuits()

Get the circuits property: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource.

ExpressRoutePortsEncapsulation encapsulation()

Get the encapsulation property: Encapsulation method on physical ports.

String etag()

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

String etherType()

Get the etherType property: Ether type of the physical port.

static ExpressRoutePortInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRoutePortInner from the JsonReader.

String id()

Get the id property: Resource ID.

ManagedServiceIdentity identity()

Get the identity property: The identity of ExpressRoutePort, if configured.

List<ExpressRouteLinkInner> links()

Get the links property: The set of physical links of the ExpressRoutePort resource.

String mtu()

Get the mtu property: Maximum transmission unit of the physical port pair(s).

String name()

Get the name property: The name of the resource.

String peeringLocation()

Get the peeringLocation property: The name of the peering location that the ExpressRoutePort is mapped to physically.

Float provisionedBandwidthInGbps()

Get the provisionedBandwidthInGbps property: Aggregate Gbps of associated circuit bandwidths.

ProvisioningState provisioningState()

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

String resourceGuid()

Get the resourceGuid property: The resource GUID property of the express route port resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ExpressRoutePortInner withBandwidthInGbps(Integer bandwidthInGbps)

Set the bandwidthInGbps property: Bandwidth of procured ports in Gbps.

ExpressRoutePortInner withBillingType(ExpressRoutePortsBillingType billingType)

Set the billingType property: The billing type of the ExpressRoutePort resource.

ExpressRoutePortInner withEncapsulation(ExpressRoutePortsEncapsulation encapsulation)

Set the encapsulation property: Encapsulation method on physical ports.

ExpressRoutePortInner withId(String id)

Set the id property: Resource ID.

ExpressRoutePortInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The identity of ExpressRoutePort, if configured.

ExpressRoutePortInner withLinks(List<ExpressRouteLinkInner> links)

Set the links property: The set of physical links of the ExpressRoutePort resource.

ExpressRoutePortInner withLocation(String location)
ExpressRoutePortInner withPeeringLocation(String peeringLocation)

Set the peeringLocation property: The name of the peering location that the ExpressRoutePort is mapped to physically.

ExpressRoutePortInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ExpressRoutePortInner

public ExpressRoutePortInner()

Creates an instance of ExpressRoutePortInner class.

Method Details

allocationDate

public String allocationDate()

Get the allocationDate property: Date of the physical port allocation to be used in Letter of Authorization.

Returns:

the allocationDate value.

bandwidthInGbps

public Integer bandwidthInGbps()

Get the bandwidthInGbps property: Bandwidth of procured ports in Gbps.

Returns:

the bandwidthInGbps value.

billingType

public ExpressRoutePortsBillingType billingType()

Get the billingType property: The billing type of the ExpressRoutePort resource.

Returns:

the billingType value.

circuits

public List circuits()

Get the circuits property: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource.

Returns:

the circuits value.

encapsulation

public ExpressRoutePortsEncapsulation encapsulation()

Get the encapsulation property: Encapsulation method on physical ports.

Returns:

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

etherType

public String etherType()

Get the etherType property: Ether type of the physical port.

Returns:

the etherType value.

fromJson

public static ExpressRoutePortInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRoutePortInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ExpressRoutePortInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: The identity of ExpressRoutePort, if configured.

Returns:

the identity value.

links

public List links()

Get the links property: The set of physical links of the ExpressRoutePort resource.

Returns:

the links value.

mtu

public String mtu()

Get the mtu property: Maximum transmission unit of the physical port pair(s).

Returns:

the mtu value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ExpressRoutePortInner.name()

Returns:

the name value.

peeringLocation

public String peeringLocation()

Get the peeringLocation property: The name of the peering location that the ExpressRoutePort is mapped to physically.

Returns:

the peeringLocation value.

provisionedBandwidthInGbps

public Float provisionedBandwidthInGbps()

Get the provisionedBandwidthInGbps property: Aggregate Gbps of associated circuit bandwidths.

Returns:

the provisionedBandwidthInGbps value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: The resource GUID property of the express route port resource.

Returns:

the resourceGuid value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExpressRoutePortInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ExpressRoutePortInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withBandwidthInGbps

public ExpressRoutePortInner withBandwidthInGbps(Integer bandwidthInGbps)

Set the bandwidthInGbps property: Bandwidth of procured ports in Gbps.

Parameters:

bandwidthInGbps - the bandwidthInGbps value to set.

Returns:

the ExpressRoutePortInner object itself.

withBillingType

public ExpressRoutePortInner withBillingType(ExpressRoutePortsBillingType billingType)

Set the billingType property: The billing type of the ExpressRoutePort resource.

Parameters:

billingType - the billingType value to set.

Returns:

the ExpressRoutePortInner object itself.

withEncapsulation

public ExpressRoutePortInner withEncapsulation(ExpressRoutePortsEncapsulation encapsulation)

Set the encapsulation property: Encapsulation method on physical ports.

Parameters:

encapsulation - the encapsulation value to set.

Returns:

the ExpressRoutePortInner object itself.

withId

public ExpressRoutePortInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the ExpressRoutePortInner object itself.

withIdentity

public ExpressRoutePortInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The identity of ExpressRoutePort, if configured.

Parameters:

identity - the identity value to set.

Returns:

the ExpressRoutePortInner object itself.

withLinks

public ExpressRoutePortInner withLinks(List links)

Set the links property: The set of physical links of the ExpressRoutePort resource.

Parameters:

links - the links value to set.

Returns:

the ExpressRoutePortInner object itself.

withLocation

public ExpressRoutePortInner withLocation(String location)

Overrides:

ExpressRoutePortInner.withLocation(String location)

Parameters:

location

withPeeringLocation

public ExpressRoutePortInner withPeeringLocation(String peeringLocation)

Set the peeringLocation property: The name of the peering location that the ExpressRoutePort is mapped to physically.

Parameters:

peeringLocation - the peeringLocation value to set.

Returns:

the ExpressRoutePortInner object itself.

withTags

public ExpressRoutePortInner withTags(Map tags)

Overrides:

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

Parameters:

tags

Applies to