ExpressRouteCrossConnectionPeeringInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. ExpressRouteCrossConnectionPeeringInner
- com.
- com.
public final class ExpressRouteCrossConnectionPeeringInner
extends SubResource
Peering in an ExpressRoute Cross Connection resource.
Constructor Summary
Constructor | Description |
---|---|
ExpressRouteCrossConnectionPeeringInner() |
Creates an instance of Express |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
azureAsn()
Get the azure |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Express |
fromJson(JsonReader jsonReader)
Reads an instance of Express |
String |
gatewayManagerEtag()
Get the gateway |
Ipv6Express |
ipv6PeeringConfig()
Get the ipv6Peering |
String |
lastModifiedBy()
Get the last |
Express |
microsoftPeeringConfig()
Get the microsoft |
String |
name()
Get the name property: The name of the resource that is unique within a resource group. |
Long |
peerAsn()
Get the peer |
Express |
peeringType()
Get the peering |
String |
primaryAzurePort()
Get the primary |
String |
primaryPeerAddressPrefix()
Get the primary |
Provisioning |
provisioningState()
Get the provisioning |
String |
secondaryAzurePort()
Get the secondary |
String |
secondaryPeerAddressPrefix()
Get the secondary |
String |
sharedKey()
Get the shared |
Express |
state()
Get the state property: The peering state. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Integer |
vlanId()
Get the vlan |
Express |
withGatewayManagerEtag(String gatewayManagerEtag)
Set the gateway |
Express |
withId(String id) |
Express |
withIpv6PeeringConfig(Ipv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig)
Set the ipv6Peering |
Express |
withMicrosoftPeeringConfig(ExpressRouteCircuitPeeringConfig microsoftPeeringConfig)
Set the microsoft |
Express |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group. |
Express |
withPeerAsn(Long peerAsn)
Set the peer |
Express |
withPeeringType(ExpressRoutePeeringType peeringType)
Set the peering |
Express |
withPrimaryPeerAddressPrefix(String primaryPeerAddressPrefix)
Set the primary |
Express |
withSecondaryPeerAddressPrefix(String secondaryPeerAddressPrefix)
Set the secondary |
Express |
withSharedKey(String sharedKey)
Set the shared |
Express |
withState(ExpressRoutePeeringState state)
Set the state property: The peering state. |
Express |
withVlanId(Integer vlanId)
Set the vlan |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
ExpressRouteCrossConnectionPeeringInner
public ExpressRouteCrossConnectionPeeringInner()
Creates an instance of ExpressRouteCrossConnectionPeeringInner class.
Method Details
azureAsn
public Integer azureAsn()
Get the azureAsn property: The Azure ASN.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static ExpressRouteCrossConnectionPeeringInner fromJson(JsonReader jsonReader)
Reads an instance of ExpressRouteCrossConnectionPeeringInner from the JsonReader.
Parameters:
Returns:
Throws:
gatewayManagerEtag
public String gatewayManagerEtag()
Get the gatewayManagerEtag property: The GatewayManager Etag.
Returns:
ipv6PeeringConfig
public Ipv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig()
Get the ipv6PeeringConfig property: The IPv6 peering configuration.
Returns:
lastModifiedBy
public String lastModifiedBy()
Get the lastModifiedBy property: Who was the last to modify the peering.
Returns:
microsoftPeeringConfig
public ExpressRouteCircuitPeeringConfig microsoftPeeringConfig()
Get the microsoftPeeringConfig property: The Microsoft peering configuration.
Returns:
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:
peerAsn
public Long peerAsn()
Get the peerAsn property: The peer ASN.
Returns:
peeringType
public ExpressRoutePeeringType peeringType()
Get the peeringType property: The peering type.
Returns:
primaryAzurePort
public String primaryAzurePort()
Get the primaryAzurePort property: The primary port.
Returns:
primaryPeerAddressPrefix
public String primaryPeerAddressPrefix()
Get the primaryPeerAddressPrefix property: The primary address prefix.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the express route cross connection peering resource.
Returns:
secondaryAzurePort
public String secondaryAzurePort()
Get the secondaryAzurePort property: The secondary port.
Returns:
secondaryPeerAddressPrefix
public String secondaryPeerAddressPrefix()
Get the secondaryPeerAddressPrefix property: The secondary address prefix.
Returns:
sharedKey
public String sharedKey()
Get the sharedKey property: The shared key.
Returns:
state
public ExpressRoutePeeringState state()
Get the state property: The peering state.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ExpressRouteCrossConnectionPeeringInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
vlanId
public Integer vlanId()
Get the vlanId property: The VLAN ID.
Returns:
withGatewayManagerEtag
public ExpressRouteCrossConnectionPeeringInner withGatewayManagerEtag(String gatewayManagerEtag)
Set the gatewayManagerEtag property: The GatewayManager Etag.
Parameters:
Returns:
withId
public ExpressRouteCrossConnectionPeeringInner withId(String id)
Overrides:
ExpressRouteCrossConnectionPeeringInner.withId(String id)Parameters:
withIpv6PeeringConfig
public ExpressRouteCrossConnectionPeeringInner withIpv6PeeringConfig(Ipv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig)
Set the ipv6PeeringConfig property: The IPv6 peering configuration.
Parameters:
Returns:
withMicrosoftPeeringConfig
public ExpressRouteCrossConnectionPeeringInner withMicrosoftPeeringConfig(ExpressRouteCircuitPeeringConfig microsoftPeeringConfig)
Set the microsoftPeeringConfig property: The Microsoft peering configuration.
Parameters:
Returns:
withName
public ExpressRouteCrossConnectionPeeringInner 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:
Returns:
withPeerAsn
public ExpressRouteCrossConnectionPeeringInner withPeerAsn(Long peerAsn)
Set the peerAsn property: The peer ASN.
Parameters:
Returns:
withPeeringType
public ExpressRouteCrossConnectionPeeringInner withPeeringType(ExpressRoutePeeringType peeringType)
Set the peeringType property: The peering type.
Parameters:
Returns:
withPrimaryPeerAddressPrefix
public ExpressRouteCrossConnectionPeeringInner withPrimaryPeerAddressPrefix(String primaryPeerAddressPrefix)
Set the primaryPeerAddressPrefix property: The primary address prefix.
Parameters:
Returns:
withSecondaryPeerAddressPrefix
public ExpressRouteCrossConnectionPeeringInner withSecondaryPeerAddressPrefix(String secondaryPeerAddressPrefix)
Set the secondaryPeerAddressPrefix property: The secondary address prefix.
Parameters:
Returns:
withSharedKey
public ExpressRouteCrossConnectionPeeringInner withSharedKey(String sharedKey)
Set the sharedKey property: The shared key.
Parameters:
Returns:
withState
public ExpressRouteCrossConnectionPeeringInner withState(ExpressRoutePeeringState state)
Set the state property: The peering state.
Parameters:
Returns:
withVlanId
public ExpressRouteCrossConnectionPeeringInner withVlanId(Integer vlanId)
Set the vlanId property: The VLAN ID.
Parameters:
Returns:
Applies to
Azure SDK for Java