Class ExpressRouteCrossConnectionPeeringInner


  • public final class ExpressRouteCrossConnectionPeeringInner
    extends com.azure.core.management.SubResource
    Peering in an ExpressRoute Cross Connection resource.
    • Constructor Detail

      • ExpressRouteCrossConnectionPeeringInner

        public ExpressRouteCrossConnectionPeeringInner()
    • Method Detail

      • 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.
      • 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:
        name - the name value to set.
        Returns:
        the ExpressRouteCrossConnectionPeeringInner object itself.
      • etag

        public String etag()
        Get the etag property: A unique read-only string that changes whenever the resource is updated.
        Returns:
        the etag value.
      • peeringType

        public ExpressRoutePeeringType peeringType()
        Get the peeringType property: The peering type.
        Returns:
        the peeringType value.
      • azureAsn

        public Integer azureAsn()
        Get the azureAsn property: The Azure ASN.
        Returns:
        the azureAsn value.
      • peerAsn

        public Long peerAsn()
        Get the peerAsn property: The peer ASN.
        Returns:
        the peerAsn value.
      • withPeerAsn

        public ExpressRouteCrossConnectionPeeringInner withPeerAsn​(Long peerAsn)
        Set the peerAsn property: The peer ASN.
        Parameters:
        peerAsn - the peerAsn value to set.
        Returns:
        the ExpressRouteCrossConnectionPeeringInner object itself.
      • primaryPeerAddressPrefix

        public String primaryPeerAddressPrefix()
        Get the primaryPeerAddressPrefix property: The primary address prefix.
        Returns:
        the primaryPeerAddressPrefix value.
      • withPrimaryPeerAddressPrefix

        public ExpressRouteCrossConnectionPeeringInner withPrimaryPeerAddressPrefix​(String primaryPeerAddressPrefix)
        Set the primaryPeerAddressPrefix property: The primary address prefix.
        Parameters:
        primaryPeerAddressPrefix - the primaryPeerAddressPrefix value to set.
        Returns:
        the ExpressRouteCrossConnectionPeeringInner object itself.
      • secondaryPeerAddressPrefix

        public String secondaryPeerAddressPrefix()
        Get the secondaryPeerAddressPrefix property: The secondary address prefix.
        Returns:
        the secondaryPeerAddressPrefix value.
      • withSecondaryPeerAddressPrefix

        public ExpressRouteCrossConnectionPeeringInner withSecondaryPeerAddressPrefix​(String secondaryPeerAddressPrefix)
        Set the secondaryPeerAddressPrefix property: The secondary address prefix.
        Parameters:
        secondaryPeerAddressPrefix - the secondaryPeerAddressPrefix value to set.
        Returns:
        the ExpressRouteCrossConnectionPeeringInner 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

        public String sharedKey()
        Get the sharedKey property: The shared key.
        Returns:
        the sharedKey value.
      • withSharedKey

        public ExpressRouteCrossConnectionPeeringInner withSharedKey​(String sharedKey)
        Set the sharedKey property: The shared key.
        Parameters:
        sharedKey - the sharedKey value to set.
        Returns:
        the ExpressRouteCrossConnectionPeeringInner object itself.
      • vlanId

        public Integer vlanId()
        Get the vlanId property: The VLAN ID.
        Returns:
        the vlanId value.
      • withVlanId

        public ExpressRouteCrossConnectionPeeringInner withVlanId​(Integer vlanId)
        Set the vlanId property: The VLAN ID.
        Parameters:
        vlanId - the vlanId value to set.
        Returns:
        the ExpressRouteCrossConnectionPeeringInner object itself.
      • microsoftPeeringConfig

        public ExpressRouteCircuitPeeringConfig microsoftPeeringConfig()
        Get the microsoftPeeringConfig property: The Microsoft peering configuration.
        Returns:
        the microsoftPeeringConfig value.
      • withMicrosoftPeeringConfig

        public ExpressRouteCrossConnectionPeeringInner withMicrosoftPeeringConfig​(ExpressRouteCircuitPeeringConfig microsoftPeeringConfig)
        Set the microsoftPeeringConfig property: The Microsoft peering configuration.
        Parameters:
        microsoftPeeringConfig - the microsoftPeeringConfig value to set.
        Returns:
        the ExpressRouteCrossConnectionPeeringInner object itself.
      • provisioningState

        public ProvisioningState 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

        public ExpressRouteCrossConnectionPeeringInner withGatewayManagerEtag​(String gatewayManagerEtag)
        Set the gatewayManagerEtag property: The GatewayManager Etag.
        Parameters:
        gatewayManagerEtag - the gatewayManagerEtag value to set.
        Returns:
        the ExpressRouteCrossConnectionPeeringInner object itself.
      • lastModifiedBy

        public String lastModifiedBy()
        Get the lastModifiedBy property: Who was the last to modify the peering.
        Returns:
        the lastModifiedBy value.
      • ipv6PeeringConfig

        public Ipv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig()
        Get the ipv6PeeringConfig property: The IPv6 peering configuration.
        Returns:
        the ipv6PeeringConfig value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.