ExpressRouteCrossConnectionInner Class

public final class ExpressRouteCrossConnectionInner
extends Resource

ExpressRouteCrossConnection resource.

Constructor Summary

Constructor Description
ExpressRouteCrossConnectionInner()

Creates an instance of ExpressRouteCrossConnectionInner class.

Method Summary

Modifier and Type Method and Description
Integer bandwidthInMbps()

Get the bandwidthInMbps property: The circuit bandwidth In Mbps.

String etag()

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

ExpressRouteCircuitReference expressRouteCircuit()

Get the expressRouteCircuit property: The ExpressRouteCircuit.

static ExpressRouteCrossConnectionInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteCrossConnectionInner from the JsonReader.

String id()

Get the id property: Resource ID.

String name()

Get the name property: The name of the resource.

String peeringLocation()

Get the peeringLocation property: The peering location of the ExpressRoute circuit.

List<ExpressRouteCrossConnectionPeeringInner> peerings()

Get the peerings property: The list of peerings.

String primaryAzurePort()

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

ProvisioningState provisioningState()

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

String secondaryAzurePort()

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

String serviceProviderNotes()

Get the serviceProviderNotes property: Additional read only notes set by the connectivity provider.

ServiceProviderProvisioningState serviceProviderProvisioningState()

Get the serviceProviderProvisioningState property: The provisioning state of the circuit in the connectivity provider system.

Integer stag()

Get the stag property: The identifier of the circuit traffic.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ExpressRouteCrossConnectionInner withExpressRouteCircuit(ExpressRouteCircuitReference expressRouteCircuit)

Set the expressRouteCircuit property: The ExpressRouteCircuit.

ExpressRouteCrossConnectionInner withId(String id)

Set the id property: Resource ID.

ExpressRouteCrossConnectionInner withLocation(String location)
ExpressRouteCrossConnectionInner withPeerings(List<ExpressRouteCrossConnectionPeeringInner> peerings)

Set the peerings property: The list of peerings.

ExpressRouteCrossConnectionInner withServiceProviderNotes(String serviceProviderNotes)

Set the serviceProviderNotes property: Additional read only notes set by the connectivity provider.

ExpressRouteCrossConnectionInner withServiceProviderProvisioningState(ServiceProviderProvisioningState serviceProviderProvisioningState)

Set the serviceProviderProvisioningState property: The provisioning state of the circuit in the connectivity provider system.

ExpressRouteCrossConnectionInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteCrossConnectionInner

public ExpressRouteCrossConnectionInner()

Creates an instance of ExpressRouteCrossConnectionInner class.

Method Details

bandwidthInMbps

public Integer bandwidthInMbps()

Get the bandwidthInMbps property: The circuit bandwidth In Mbps.

Returns:

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

expressRouteCircuit

public ExpressRouteCircuitReference expressRouteCircuit()

Get the expressRouteCircuit property: The ExpressRouteCircuit.

Returns:

the expressRouteCircuit value.

fromJson

public static ExpressRouteCrossConnectionInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteCrossConnectionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

ExpressRouteCrossConnectionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ExpressRouteCrossConnectionInner.name()

Returns:

the name value.

peeringLocation

public String peeringLocation()

Get the peeringLocation property: The peering location of the ExpressRoute circuit.

Returns:

the peeringLocation value.

peerings

public List peerings()

Get the peerings property: The list of peerings.

Returns:

the peerings value.

primaryAzurePort

public String primaryAzurePort()

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

Returns:

the primaryAzurePort value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

secondaryAzurePort

public String secondaryAzurePort()

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

Returns:

the secondaryAzurePort value.

serviceProviderNotes

public String serviceProviderNotes()

Get the serviceProviderNotes property: Additional read only notes set by the connectivity provider.

Returns:

the serviceProviderNotes value.

serviceProviderProvisioningState

public ServiceProviderProvisioningState serviceProviderProvisioningState()

Get the serviceProviderProvisioningState property: The provisioning state of the circuit in the connectivity provider system.

Returns:

the serviceProviderProvisioningState value.

stag

public Integer stag()

Get the stag property: The identifier of the circuit traffic.

Returns:

the stag value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExpressRouteCrossConnectionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ExpressRouteCrossConnectionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withExpressRouteCircuit

public ExpressRouteCrossConnectionInner withExpressRouteCircuit(ExpressRouteCircuitReference expressRouteCircuit)

Set the expressRouteCircuit property: The ExpressRouteCircuit.

Parameters:

expressRouteCircuit - the expressRouteCircuit value to set.

Returns:

the ExpressRouteCrossConnectionInner object itself.

withId

public ExpressRouteCrossConnectionInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the ExpressRouteCrossConnectionInner object itself.

withLocation

public ExpressRouteCrossConnectionInner withLocation(String location)

Overrides:

ExpressRouteCrossConnectionInner.withLocation(String location)

Parameters:

location

withPeerings

public ExpressRouteCrossConnectionInner withPeerings(List peerings)

Set the peerings property: The list of peerings.

Parameters:

peerings - the peerings value to set.

Returns:

the ExpressRouteCrossConnectionInner object itself.

withServiceProviderNotes

public ExpressRouteCrossConnectionInner withServiceProviderNotes(String serviceProviderNotes)

Set the serviceProviderNotes property: Additional read only notes set by the connectivity provider.

Parameters:

serviceProviderNotes - the serviceProviderNotes value to set.

Returns:

the ExpressRouteCrossConnectionInner object itself.

withServiceProviderProvisioningState

public ExpressRouteCrossConnectionInner withServiceProviderProvisioningState(ServiceProviderProvisioningState serviceProviderProvisioningState)

Set the serviceProviderProvisioningState property: The provisioning state of the circuit in the connectivity provider system.

Parameters:

serviceProviderProvisioningState - the serviceProviderProvisioningState value to set.

Returns:

the ExpressRouteCrossConnectionInner object itself.

withTags

public ExpressRouteCrossConnectionInner withTags(Map tags)

Overrides:

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

Parameters:

tags

Applies to