java.lang.Object
com.azure.resourcemanager.network.fluent.models.ExpressRouteCrossConnectionPeeringProperties
Constructor Summary
Constructors
Creates an instance of ExpressRouteCrossConnectionPeeringProperties class.
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Get the azureAsn property: The Azure ASN.
fromJson (com.azure.json.JsonReader jsonReader)
Reads an instance of ExpressRouteCrossConnectionPeeringProperties from the JsonReader.
Get the gatewayManagerEtag property: The GatewayManager Etag.
Get the ipv6PeeringConfig property: The IPv6 peering configuration.
Get the lastModifiedBy property: Who was the last to modify the peering.
Get the microsoftPeeringConfig property: The Microsoft peering configuration.
Get the peerAsn property: The peer ASN.
Get the peeringType property: The peering type.
Get the primaryAzurePort property: The primary port.
Get the primaryPeerAddressPrefix property: The primary address prefix.
Get the provisioningState property: The provisioning state of the express route cross connection peering
resource.
Get the secondaryAzurePort property: The secondary port.
Get the secondaryPeerAddressPrefix property: The secondary address prefix.
Get the sharedKey property: The shared key.
Get the state property: The peering state.
com.azure.json.JsonWriter
toJson (com.azure.json.JsonWriter jsonWriter)
void
Get the vlanId property: The VLAN ID.
Set the gatewayManagerEtag property: The GatewayManager Etag.
Set the ipv6PeeringConfig property: The IPv6 peering configuration.
Set the microsoftPeeringConfig property: The Microsoft peering configuration.
Set the peerAsn property: The peer ASN.
Set the peeringType property: The peering type.
Set the primaryPeerAddressPrefix property: The primary address prefix.
Set the secondaryPeerAddressPrefix property: The secondary address prefix.
Set the sharedKey property: The shared key.
Set the state property: The peering state.
Set the vlanId property: The VLAN ID.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
Constructor Details
ExpressRouteCrossConnectionPeeringProperties
public ExpressRouteCrossConnectionPeeringProperties ()
Creates an instance of ExpressRouteCrossConnectionPeeringProperties class.
Method Details
peeringType
Get the peeringType property: The peering type.
Returns:
the peeringType value.
withPeeringType
Set the peeringType property: The peering type.
Parameters:
peeringType - the peeringType value to set.
Returns:
the ExpressRouteCrossConnectionPeeringProperties object itself.
state
Get the state property: The peering state.
Returns:
the state value.
withState
Set the state property: The peering state.
Parameters:
state - the state value to set.
Returns:
the ExpressRouteCrossConnectionPeeringProperties object itself.
azureAsn
Get the azureAsn property: The Azure ASN.
Returns:
the azureAsn value.
peerAsn
Get the peerAsn property: The peer ASN.
Returns:
the peerAsn value.
withPeerAsn
Set the peerAsn property: The peer ASN.
Parameters:
peerAsn - the peerAsn value to set.
Returns:
the ExpressRouteCrossConnectionPeeringProperties object itself.
primaryPeerAddressPrefix
public String primaryPeerAddressPrefix ()
Get the primaryPeerAddressPrefix property: The primary address prefix.
Returns:
the primaryPeerAddressPrefix value.
withPrimaryPeerAddressPrefix
Set the primaryPeerAddressPrefix property: The primary address prefix.
Parameters:
primaryPeerAddressPrefix - the primaryPeerAddressPrefix value to set.
Returns:
the ExpressRouteCrossConnectionPeeringProperties object itself.
secondaryPeerAddressPrefix
public String secondaryPeerAddressPrefix ()
Get the secondaryPeerAddressPrefix property: The secondary address prefix.
Returns:
the secondaryPeerAddressPrefix value.
withSecondaryPeerAddressPrefix
Set the secondaryPeerAddressPrefix property: The secondary address prefix.
Parameters:
secondaryPeerAddressPrefix - the secondaryPeerAddressPrefix value to set.
Returns:
the ExpressRouteCrossConnectionPeeringProperties object itself.
primaryAzurePort
public String primaryAzurePort ()
Get the primaryAzurePort property: The primary port.
Returns:
the primaryAzurePort value.
secondaryAzurePort
public String secondaryAzurePort ()
Get the secondaryAzurePort property: The secondary port.
Returns:
the secondaryAzurePort value.
sharedKey
Get the sharedKey property: The shared key.
Returns:
the sharedKey value.
withSharedKey
Set the sharedKey property: The shared key.
Parameters:
sharedKey - the sharedKey value to set.
Returns:
the ExpressRouteCrossConnectionPeeringProperties object itself.
vlanId
Get the vlanId property: The VLAN ID.
Returns:
the vlanId value.
withVlanId
Set the vlanId property: The VLAN ID.
Parameters:
vlanId - the vlanId value to set.
Returns:
the ExpressRouteCrossConnectionPeeringProperties object itself.
microsoftPeeringConfig
Get the microsoftPeeringConfig property: The Microsoft peering configuration.
Returns:
the microsoftPeeringConfig value.
withMicrosoftPeeringConfig
Set the microsoftPeeringConfig property: The Microsoft peering configuration.
Parameters:
microsoftPeeringConfig - the microsoftPeeringConfig value to set.
Returns:
the ExpressRouteCrossConnectionPeeringProperties object itself.
provisioningState
Get the provisioningState property: The provisioning state of the express route cross connection peering
resource.
Returns:
the provisioningState value.
gatewayManagerEtag
public String gatewayManagerEtag ()
Get the gatewayManagerEtag property: The GatewayManager Etag.
Returns:
the gatewayManagerEtag value.
withGatewayManagerEtag
Set the gatewayManagerEtag property: The GatewayManager Etag.
Parameters:
gatewayManagerEtag - the gatewayManagerEtag value to set.
Returns:
the ExpressRouteCrossConnectionPeeringProperties object itself.
lastModifiedBy
public String lastModifiedBy ()
Get the lastModifiedBy property: Who was the last to modify the peering.
Returns:
the lastModifiedBy value.
ipv6PeeringConfig
Get the ipv6PeeringConfig property: The IPv6 peering configuration.
Returns:
the ipv6PeeringConfig value.
withIpv6PeeringConfig
Set the ipv6PeeringConfig property: The IPv6 peering configuration.
Parameters:
ipv6PeeringConfig - the ipv6PeeringConfig value to set.
Returns:
the ExpressRouteCrossConnectionPeeringProperties object itself.
validate
public void validate ()
Validates the instance.
Throws:
IllegalArgumentException - thrown if the instance is not valid.
fromJson
Reads an instance of ExpressRouteCrossConnectionPeeringProperties from the JsonReader.
Parameters:
jsonReader - The JsonReader being read.
Returns:
An instance of ExpressRouteCrossConnectionPeeringProperties 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 ExpressRouteCrossConnectionPeeringProperties.