Class ExpressRouteCircuitPeeringPropertiesFormatInner
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitPeeringPropertiesFormatInner
-
public final class ExpressRouteCircuitPeeringPropertiesFormatInner extends Object
Properties of the express route circuit peering.
-
-
Constructor Summary
Constructors Constructor Description ExpressRouteCircuitPeeringPropertiesFormatInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerazureAsn()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.ExpressRouteConnectionIdexpressRouteConnection()Get the expressRouteConnection property: The ExpressRoute connection.StringgatewayManagerEtag()Get the gatewayManagerEtag property: The GatewayManager Etag.Ipv6ExpressRouteCircuitPeeringConfigipv6PeeringConfig()Get the ipv6PeeringConfig property: The IPv6 peering configuration.StringlastModifiedBy()Get the lastModifiedBy property: Who was the last to modify the peering.ExpressRouteCircuitPeeringConfigmicrosoftPeeringConfig()Get the microsoftPeeringConfig property: The Microsoft peering configuration.LongpeerAsn()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.ExpressRoutePeeringTypepeeringType()Get the peeringType property: The peering type.StringprimaryAzurePort()Get the primaryAzurePort property: The primary port.StringprimaryPeerAddressPrefix()Get the primaryPeerAddressPrefix property: The primary address prefix.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the express route circuit peering resource.com.azure.core.management.SubResourcerouteFilter()Get the routeFilter property: The reference to the RouteFilter resource.StringsecondaryAzurePort()Get the secondaryAzurePort property: The secondary port.StringsecondaryPeerAddressPrefix()Get the secondaryPeerAddressPrefix property: The secondary address prefix.StringsharedKey()Get the sharedKey property: The shared key.ExpressRoutePeeringStatestate()Get the state property: The peering state.ExpressRouteCircuitStatsInnerstats()Get the stats property: The peering stats of express route circuit.voidvalidate()Validates the instance.IntegervlanId()Get the vlanId property: The VLAN ID.ExpressRouteCircuitPeeringPropertiesFormatInnerwithAzureAsn(Integer azureAsn)Set the azureAsn property: The Azure ASN.ExpressRouteCircuitPeeringPropertiesFormatInnerwithConnections(List<ExpressRouteCircuitConnectionInner> connections)Set the connections property: The list of circuit connections associated with Azure Private Peering for this circuit.ExpressRouteCircuitPeeringPropertiesFormatInnerwithExpressRouteConnection(ExpressRouteConnectionId expressRouteConnection)Set the expressRouteConnection property: The ExpressRoute connection.ExpressRouteCircuitPeeringPropertiesFormatInnerwithGatewayManagerEtag(String gatewayManagerEtag)Set the gatewayManagerEtag property: The GatewayManager Etag.ExpressRouteCircuitPeeringPropertiesFormatInnerwithIpv6PeeringConfig(Ipv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig)Set the ipv6PeeringConfig property: The IPv6 peering configuration.ExpressRouteCircuitPeeringPropertiesFormatInnerwithMicrosoftPeeringConfig(ExpressRouteCircuitPeeringConfig microsoftPeeringConfig)Set the microsoftPeeringConfig property: The Microsoft peering configuration.ExpressRouteCircuitPeeringPropertiesFormatInnerwithPeerAsn(Long peerAsn)Set the peerAsn property: The peer ASN.ExpressRouteCircuitPeeringPropertiesFormatInnerwithPeeringType(ExpressRoutePeeringType peeringType)Set the peeringType property: The peering type.ExpressRouteCircuitPeeringPropertiesFormatInnerwithPrimaryAzurePort(String primaryAzurePort)Set the primaryAzurePort property: The primary port.ExpressRouteCircuitPeeringPropertiesFormatInnerwithPrimaryPeerAddressPrefix(String primaryPeerAddressPrefix)Set the primaryPeerAddressPrefix property: The primary address prefix.ExpressRouteCircuitPeeringPropertiesFormatInnerwithRouteFilter(com.azure.core.management.SubResource routeFilter)Set the routeFilter property: The reference to the RouteFilter resource.ExpressRouteCircuitPeeringPropertiesFormatInnerwithSecondaryAzurePort(String secondaryAzurePort)Set the secondaryAzurePort property: The secondary port.ExpressRouteCircuitPeeringPropertiesFormatInnerwithSecondaryPeerAddressPrefix(String secondaryPeerAddressPrefix)Set the secondaryPeerAddressPrefix property: The secondary address prefix.ExpressRouteCircuitPeeringPropertiesFormatInnerwithSharedKey(String sharedKey)Set the sharedKey property: The shared key.ExpressRouteCircuitPeeringPropertiesFormatInnerwithState(ExpressRoutePeeringState state)Set the state property: The peering state.ExpressRouteCircuitPeeringPropertiesFormatInnerwithStats(ExpressRouteCircuitStatsInner stats)Set the stats property: The peering stats of express route circuit.ExpressRouteCircuitPeeringPropertiesFormatInnerwithVlanId(Integer vlanId)Set the vlanId property: The VLAN ID.
-
-
-
Method Detail
-
peeringType
public ExpressRoutePeeringType peeringType()
Get the peeringType property: The peering type.- Returns:
- the peeringType value.
-
withPeeringType
public ExpressRouteCircuitPeeringPropertiesFormatInner withPeeringType(ExpressRoutePeeringType peeringType)
Set the peeringType property: The peering type.- Parameters:
peeringType- the peeringType value to set.- Returns:
- the ExpressRouteCircuitPeeringPropertiesFormatInner object itself.
-
state
public ExpressRoutePeeringState state()
Get the state property: The peering state.- Returns:
- the state value.
-
withState
public ExpressRouteCircuitPeeringPropertiesFormatInner withState(ExpressRoutePeeringState state)
Set the state property: The peering state.- Parameters:
state- the state value to set.- Returns:
- the ExpressRouteCircuitPeeringPropertiesFormatInner object itself.
-
azureAsn
public Integer azureAsn()
Get the azureAsn property: The Azure ASN.- Returns:
- the azureAsn value.
-
withAzureAsn
public ExpressRouteCircuitPeeringPropertiesFormatInner withAzureAsn(Integer azureAsn)
Set the azureAsn property: The Azure ASN.- Parameters:
azureAsn- the azureAsn value to set.- Returns:
- the ExpressRouteCircuitPeeringPropertiesFormatInner object itself.
-
peerAsn
public Long peerAsn()
Get the peerAsn property: The peer ASN.- Returns:
- the peerAsn value.
-
withPeerAsn
public ExpressRouteCircuitPeeringPropertiesFormatInner withPeerAsn(Long peerAsn)
Set the peerAsn property: The peer ASN.- Parameters:
peerAsn- the peerAsn value to set.- Returns:
- the ExpressRouteCircuitPeeringPropertiesFormatInner object itself.
-
primaryPeerAddressPrefix
public String primaryPeerAddressPrefix()
Get the primaryPeerAddressPrefix property: The primary address prefix.- Returns:
- the primaryPeerAddressPrefix value.
-
withPrimaryPeerAddressPrefix
public ExpressRouteCircuitPeeringPropertiesFormatInner withPrimaryPeerAddressPrefix(String primaryPeerAddressPrefix)
Set the primaryPeerAddressPrefix property: The primary address prefix.- Parameters:
primaryPeerAddressPrefix- the primaryPeerAddressPrefix value to set.- Returns:
- the ExpressRouteCircuitPeeringPropertiesFormatInner object itself.
-
secondaryPeerAddressPrefix
public String secondaryPeerAddressPrefix()
Get the secondaryPeerAddressPrefix property: The secondary address prefix.- Returns:
- the secondaryPeerAddressPrefix value.
-
withSecondaryPeerAddressPrefix
public ExpressRouteCircuitPeeringPropertiesFormatInner withSecondaryPeerAddressPrefix(String secondaryPeerAddressPrefix)
Set the secondaryPeerAddressPrefix property: The secondary address prefix.- Parameters:
secondaryPeerAddressPrefix- the secondaryPeerAddressPrefix value to set.- Returns:
- the ExpressRouteCircuitPeeringPropertiesFormatInner object itself.
-
primaryAzurePort
public String primaryAzurePort()
Get the primaryAzurePort property: The primary port.- Returns:
- the primaryAzurePort value.
-
withPrimaryAzurePort
public ExpressRouteCircuitPeeringPropertiesFormatInner withPrimaryAzurePort(String primaryAzurePort)
Set the primaryAzurePort property: The primary port.- Parameters:
primaryAzurePort- the primaryAzurePort value to set.- Returns:
- the ExpressRouteCircuitPeeringPropertiesFormatInner object itself.
-
secondaryAzurePort
public String secondaryAzurePort()
Get the secondaryAzurePort property: The secondary port.- Returns:
- the secondaryAzurePort value.
-
withSecondaryAzurePort
public ExpressRouteCircuitPeeringPropertiesFormatInner withSecondaryAzurePort(String secondaryAzurePort)
Set the secondaryAzurePort property: The secondary port.- Parameters:
secondaryAzurePort- the secondaryAzurePort value to set.- Returns:
- the ExpressRouteCircuitPeeringPropertiesFormatInner object itself.
-
sharedKey
public String sharedKey()
Get the sharedKey property: The shared key.- Returns:
- the sharedKey value.
-
withSharedKey
public ExpressRouteCircuitPeeringPropertiesFormatInner withSharedKey(String sharedKey)
Set the sharedKey property: The shared key.- Parameters:
sharedKey- the sharedKey value to set.- Returns:
- the ExpressRouteCircuitPeeringPropertiesFormatInner object itself.
-
vlanId
public Integer vlanId()
Get the vlanId property: The VLAN ID.- Returns:
- the vlanId value.
-
withVlanId
public ExpressRouteCircuitPeeringPropertiesFormatInner withVlanId(Integer vlanId)
Set the vlanId property: The VLAN ID.- Parameters:
vlanId- the vlanId value to set.- Returns:
- the ExpressRouteCircuitPeeringPropertiesFormatInner object itself.
-
microsoftPeeringConfig
public ExpressRouteCircuitPeeringConfig microsoftPeeringConfig()
Get the microsoftPeeringConfig property: The Microsoft peering configuration.- Returns:
- the microsoftPeeringConfig value.
-
withMicrosoftPeeringConfig
public ExpressRouteCircuitPeeringPropertiesFormatInner withMicrosoftPeeringConfig(ExpressRouteCircuitPeeringConfig microsoftPeeringConfig)
Set the microsoftPeeringConfig property: The Microsoft peering configuration.- Parameters:
microsoftPeeringConfig- the microsoftPeeringConfig value to set.- Returns:
- the ExpressRouteCircuitPeeringPropertiesFormatInner object itself.
-
stats
public ExpressRouteCircuitStatsInner stats()
Get the stats property: The peering stats of express route circuit.- Returns:
- the stats value.
-
withStats
public ExpressRouteCircuitPeeringPropertiesFormatInner withStats(ExpressRouteCircuitStatsInner stats)
Set the stats property: The peering stats of express route circuit.- Parameters:
stats- the stats value to set.- Returns:
- the ExpressRouteCircuitPeeringPropertiesFormatInner object itself.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the express route circuit peering resource.- Returns:
- the provisioningState value.
-
gatewayManagerEtag
public String gatewayManagerEtag()
Get the gatewayManagerEtag property: The GatewayManager Etag.- Returns:
- the gatewayManagerEtag value.
-
withGatewayManagerEtag
public ExpressRouteCircuitPeeringPropertiesFormatInner withGatewayManagerEtag(String gatewayManagerEtag)
Set the gatewayManagerEtag property: The GatewayManager Etag.- Parameters:
gatewayManagerEtag- the gatewayManagerEtag value to set.- Returns:
- the ExpressRouteCircuitPeeringPropertiesFormatInner object itself.
-
lastModifiedBy
public String lastModifiedBy()
Get the lastModifiedBy property: Who was the last to modify the peering.- Returns:
- the lastModifiedBy value.
-
routeFilter
public com.azure.core.management.SubResource routeFilter()
Get the routeFilter property: The reference to the RouteFilter resource.- Returns:
- the routeFilter value.
-
withRouteFilter
public ExpressRouteCircuitPeeringPropertiesFormatInner withRouteFilter(com.azure.core.management.SubResource routeFilter)
Set the routeFilter property: The reference to the RouteFilter resource.- Parameters:
routeFilter- the routeFilter value to set.- Returns:
- the ExpressRouteCircuitPeeringPropertiesFormatInner object itself.
-
ipv6PeeringConfig
public Ipv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig()
Get the ipv6PeeringConfig property: The IPv6 peering configuration.- Returns:
- the ipv6PeeringConfig value.
-
withIpv6PeeringConfig
public ExpressRouteCircuitPeeringPropertiesFormatInner withIpv6PeeringConfig(Ipv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig)
Set the ipv6PeeringConfig property: The IPv6 peering configuration.- Parameters:
ipv6PeeringConfig- the ipv6PeeringConfig value to set.- Returns:
- the ExpressRouteCircuitPeeringPropertiesFormatInner object itself.
-
expressRouteConnection
public ExpressRouteConnectionId expressRouteConnection()
Get the expressRouteConnection property: The ExpressRoute connection.- Returns:
- the expressRouteConnection value.
-
withExpressRouteConnection
public ExpressRouteCircuitPeeringPropertiesFormatInner withExpressRouteConnection(ExpressRouteConnectionId expressRouteConnection)
Set the expressRouteConnection property: The ExpressRoute connection.- Parameters:
expressRouteConnection- the expressRouteConnection value to set.- Returns:
- the ExpressRouteCircuitPeeringPropertiesFormatInner object itself.
-
connections
public List<ExpressRouteCircuitConnectionInner> connections()
Get the connections property: The list of circuit connections associated with Azure Private Peering for this circuit.- Returns:
- the connections value.
-
withConnections
public ExpressRouteCircuitPeeringPropertiesFormatInner withConnections(List<ExpressRouteCircuitConnectionInner> 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 ExpressRouteCircuitPeeringPropertiesFormatInner object itself.
-
peeredConnections
public List<PeerExpressRouteCircuitConnectionInner> peeredConnections()
Get the peeredConnections property: The list of peered circuit connections associated with Azure Private Peering for this circuit.- Returns:
- the peeredConnections value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-