ExpressRouteCircuitPeeringInner Class

public final class ExpressRouteCircuitPeeringInner
extends SubResource

Peering in an ExpressRouteCircuit resource.

Constructor Summary

Constructor Description
ExpressRouteCircuitPeeringInner()

Creates an instance of ExpressRouteCircuitPeeringInner class.

Method Summary

Modifier and Type Method and Description
Integer azureAsn()

Get the azureAsn property: The Azure ASN.

List<ExpressRouteCircuitConnectionInner> connections()

Get the connections property: The list of circuit connections associated with Azure Private Peering for this circuit.

String etag()

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

ExpressRouteConnectionId expressRouteConnection()

Get the expressRouteConnection property: The ExpressRoute connection.

static ExpressRouteCircuitPeeringInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteCircuitPeeringInner from the JsonReader.

String gatewayManagerEtag()

Get the gatewayManagerEtag property: The GatewayManager Etag.

Ipv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig()

Get the ipv6PeeringConfig property: The IPv6 peering configuration.

String lastModifiedBy()

Get the lastModifiedBy property: Who was the last to modify the peering.

ExpressRouteCircuitPeeringConfig microsoftPeeringConfig()

Get the microsoftPeeringConfig property: The Microsoft peering configuration.

String name()

Get the name property: The name of the resource that is unique within a resource group.

Long peerAsn()

Get the peerAsn property: The peer ASN.

List<PeerExpressRouteCircuitConnectionInner> peeredConnections()

Get the peeredConnections property: The list of peered circuit connections associated with Azure Private Peering for this circuit.

ExpressRoutePeeringType peeringType()

Get the peeringType property: The peering type.

String primaryAzurePort()

Get the primaryAzurePort property: The primary port.

String primaryPeerAddressPrefix()

Get the primaryPeerAddressPrefix property: The primary address prefix.

ProvisioningState provisioningState()

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

SubResource routeFilter()

Get the routeFilter property: The reference to the RouteFilter resource.

String secondaryAzurePort()

Get the secondaryAzurePort property: The secondary port.

String secondaryPeerAddressPrefix()

Get the secondaryPeerAddressPrefix property: The secondary address prefix.

String sharedKey()

Get the sharedKey property: The shared key.

ExpressRoutePeeringState state()

Get the state property: The peering state.

ExpressRouteCircuitStatsInner stats()

Get the stats property: The peering stats of express route circuit.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

Integer vlanId()

Get the vlanId property: The VLAN ID.

ExpressRouteCircuitPeeringInner withAzureAsn(Integer azureAsn)

Set the azureAsn property: The Azure ASN.

ExpressRouteCircuitPeeringInner withConnections(List<ExpressRouteCircuitConnectionInner> connections)

Set the connections property: The list of circuit connections associated with Azure Private Peering for this circuit.

ExpressRouteCircuitPeeringInner withExpressRouteConnection(ExpressRouteConnectionId expressRouteConnection)

Set the expressRouteConnection property: The ExpressRoute connection.

ExpressRouteCircuitPeeringInner withGatewayManagerEtag(String gatewayManagerEtag)

Set the gatewayManagerEtag property: The GatewayManager Etag.

ExpressRouteCircuitPeeringInner withId(String id)
ExpressRouteCircuitPeeringInner withIpv6PeeringConfig(Ipv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig)

Set the ipv6PeeringConfig property: The IPv6 peering configuration.

ExpressRouteCircuitPeeringInner withMicrosoftPeeringConfig(ExpressRouteCircuitPeeringConfig microsoftPeeringConfig)

Set the microsoftPeeringConfig property: The Microsoft peering configuration.

ExpressRouteCircuitPeeringInner withName(String name)

Set the name property: The name of the resource that is unique within a resource group.

ExpressRouteCircuitPeeringInner withPeerAsn(Long peerAsn)

Set the peerAsn property: The peer ASN.

ExpressRouteCircuitPeeringInner withPeeringType(ExpressRoutePeeringType peeringType)

Set the peeringType property: The peering type.

ExpressRouteCircuitPeeringInner withPrimaryAzurePort(String primaryAzurePort)

Set the primaryAzurePort property: The primary port.

ExpressRouteCircuitPeeringInner withPrimaryPeerAddressPrefix(String primaryPeerAddressPrefix)

Set the primaryPeerAddressPrefix property: The primary address prefix.

ExpressRouteCircuitPeeringInner withRouteFilter(SubResource routeFilter)

Set the routeFilter property: The reference to the RouteFilter resource.

ExpressRouteCircuitPeeringInner withSecondaryAzurePort(String secondaryAzurePort)

Set the secondaryAzurePort property: The secondary port.

ExpressRouteCircuitPeeringInner withSecondaryPeerAddressPrefix(String secondaryPeerAddressPrefix)

Set the secondaryPeerAddressPrefix property: The secondary address prefix.

ExpressRouteCircuitPeeringInner withSharedKey(String sharedKey)

Set the sharedKey property: The shared key.

ExpressRouteCircuitPeeringInner withState(ExpressRoutePeeringState state)

Set the state property: The peering state.

ExpressRouteCircuitPeeringInner withStats(ExpressRouteCircuitStatsInner stats)

Set the stats property: The peering stats of express route circuit.

ExpressRouteCircuitPeeringInner withVlanId(Integer vlanId)

Set the vlanId property: The VLAN ID.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteCircuitPeeringInner

public ExpressRouteCircuitPeeringInner()

Creates an instance of ExpressRouteCircuitPeeringInner class.

Method Details

azureAsn

public Integer azureAsn()

Get the azureAsn property: The Azure ASN.

Returns:

the azureAsn value.

connections

public List connections()

Get the connections property: The list of circuit connections associated with Azure Private Peering for this circuit.

Returns:

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

expressRouteConnection

public ExpressRouteConnectionId expressRouteConnection()

Get the expressRouteConnection property: The ExpressRoute connection.

Returns:

the expressRouteConnection value.

fromJson

public static ExpressRouteCircuitPeeringInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteCircuitPeeringInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRouteCircuitPeeringInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ExpressRouteCircuitPeeringInner.

gatewayManagerEtag

public String gatewayManagerEtag()

Get the gatewayManagerEtag property: The GatewayManager Etag.

Returns:

the gatewayManagerEtag value.

ipv6PeeringConfig

public Ipv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig()

Get the ipv6PeeringConfig property: The IPv6 peering configuration.

Returns:

the ipv6PeeringConfig value.

lastModifiedBy

public String lastModifiedBy()

Get the lastModifiedBy property: Who was the last to modify the peering.

Returns:

the lastModifiedBy value.

microsoftPeeringConfig

public ExpressRouteCircuitPeeringConfig microsoftPeeringConfig()

Get the microsoftPeeringConfig property: The Microsoft peering configuration.

Returns:

the microsoftPeeringConfig value.

name

public String name()

Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Returns:

the name value.

peerAsn

public Long peerAsn()

Get the peerAsn property: The peer ASN.

Returns:

the peerAsn value.

peeredConnections

public List peeredConnections()

Get the peeredConnections property: The list of peered circuit connections associated with Azure Private Peering for this circuit.

Returns:

the peeredConnections value.

peeringType

public ExpressRoutePeeringType peeringType()

Get the peeringType property: The peering type.

Returns:

the peeringType value.

primaryAzurePort

public String primaryAzurePort()

Get the primaryAzurePort property: The primary port.

Returns:

the primaryAzurePort value.

primaryPeerAddressPrefix

public String primaryPeerAddressPrefix()

Get the primaryPeerAddressPrefix property: The primary address prefix.

Returns:

the primaryPeerAddressPrefix value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

routeFilter

public SubResource routeFilter()

Get the routeFilter property: The reference to the RouteFilter resource.

Returns:

the routeFilter value.

secondaryAzurePort

public String secondaryAzurePort()

Get the secondaryAzurePort property: The secondary port.

Returns:

the secondaryAzurePort value.

secondaryPeerAddressPrefix

public String secondaryPeerAddressPrefix()

Get the secondaryPeerAddressPrefix property: The secondary address prefix.

Returns:

the secondaryPeerAddressPrefix value.

sharedKey

public String sharedKey()

Get the sharedKey property: The shared key.

Returns:

the sharedKey value.

state

public ExpressRoutePeeringState state()

Get the state property: The peering state.

Returns:

the state value.

stats

public ExpressRouteCircuitStatsInner stats()

Get the stats property: The peering stats of express route circuit.

Returns:

the stats value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ExpressRouteCircuitPeeringInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

vlanId

public Integer vlanId()

Get the vlanId property: The VLAN ID.

Returns:

the vlanId value.

withAzureAsn

public ExpressRouteCircuitPeeringInner withAzureAsn(Integer azureAsn)

Set the azureAsn property: The Azure ASN.

Parameters:

azureAsn - the azureAsn value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

withConnections

public ExpressRouteCircuitPeeringInner withConnections(List connections)

Set the connections property: The list of circuit connections associated with Azure Private Peering for this circuit.

Parameters:

connections - the connections value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

withExpressRouteConnection

public ExpressRouteCircuitPeeringInner withExpressRouteConnection(ExpressRouteConnectionId expressRouteConnection)

Set the expressRouteConnection property: The ExpressRoute connection.

Parameters:

expressRouteConnection - the expressRouteConnection value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

withGatewayManagerEtag

public ExpressRouteCircuitPeeringInner withGatewayManagerEtag(String gatewayManagerEtag)

Set the gatewayManagerEtag property: The GatewayManager Etag.

Parameters:

gatewayManagerEtag - the gatewayManagerEtag value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

withId

public ExpressRouteCircuitPeeringInner withId(String id)

Overrides:

ExpressRouteCircuitPeeringInner.withId(String id)

Parameters:

id

withIpv6PeeringConfig

public ExpressRouteCircuitPeeringInner withIpv6PeeringConfig(Ipv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig)

Set the ipv6PeeringConfig property: The IPv6 peering configuration.

Parameters:

ipv6PeeringConfig - the ipv6PeeringConfig value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

withMicrosoftPeeringConfig

public ExpressRouteCircuitPeeringInner withMicrosoftPeeringConfig(ExpressRouteCircuitPeeringConfig microsoftPeeringConfig)

Set the microsoftPeeringConfig property: The Microsoft peering configuration.

Parameters:

microsoftPeeringConfig - the microsoftPeeringConfig value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

withName

public ExpressRouteCircuitPeeringInner withName(String name)

Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Parameters:

name - the name value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

withPeerAsn

public ExpressRouteCircuitPeeringInner withPeerAsn(Long peerAsn)

Set the peerAsn property: The peer ASN.

Parameters:

peerAsn - the peerAsn value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

withPeeringType

public ExpressRouteCircuitPeeringInner withPeeringType(ExpressRoutePeeringType peeringType)

Set the peeringType property: The peering type.

Parameters:

peeringType - the peeringType value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

withPrimaryAzurePort

public ExpressRouteCircuitPeeringInner withPrimaryAzurePort(String primaryAzurePort)

Set the primaryAzurePort property: The primary port.

Parameters:

primaryAzurePort - the primaryAzurePort value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

withPrimaryPeerAddressPrefix

public ExpressRouteCircuitPeeringInner withPrimaryPeerAddressPrefix(String primaryPeerAddressPrefix)

Set the primaryPeerAddressPrefix property: The primary address prefix.

Parameters:

primaryPeerAddressPrefix - the primaryPeerAddressPrefix value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

withRouteFilter

public ExpressRouteCircuitPeeringInner withRouteFilter(SubResource routeFilter)

Set the routeFilter property: The reference to the RouteFilter resource.

Parameters:

routeFilter - the routeFilter value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

withSecondaryAzurePort

public ExpressRouteCircuitPeeringInner withSecondaryAzurePort(String secondaryAzurePort)

Set the secondaryAzurePort property: The secondary port.

Parameters:

secondaryAzurePort - the secondaryAzurePort value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

withSecondaryPeerAddressPrefix

public ExpressRouteCircuitPeeringInner withSecondaryPeerAddressPrefix(String secondaryPeerAddressPrefix)

Set the secondaryPeerAddressPrefix property: The secondary address prefix.

Parameters:

secondaryPeerAddressPrefix - the secondaryPeerAddressPrefix value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

withSharedKey

public ExpressRouteCircuitPeeringInner withSharedKey(String sharedKey)

Set the sharedKey property: The shared key.

Parameters:

sharedKey - the sharedKey value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

withState

public ExpressRouteCircuitPeeringInner withState(ExpressRoutePeeringState state)

Set the state property: The peering state.

Parameters:

state - the state value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

withStats

public ExpressRouteCircuitPeeringInner withStats(ExpressRouteCircuitStatsInner stats)

Set the stats property: The peering stats of express route circuit.

Parameters:

stats - the stats value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

withVlanId

public ExpressRouteCircuitPeeringInner withVlanId(Integer vlanId)

Set the vlanId property: The VLAN ID.

Parameters:

vlanId - the vlanId value to set.

Returns:

the ExpressRouteCircuitPeeringInner object itself.

Applies to