Interface PeerAsn


public interface PeerAsn
An immutable client-side representation of PeerAsn.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The entirety of the PeerAsn definition.
    static interface 
    The PeerAsn definition stages.
    static interface 
    The template for PeerAsn update.
    static interface 
    The PeerAsn update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the errorMessage property: The error message for the validation state.
    id()
    Gets the id property: Fully qualified resource Id for the resource.
    Gets the inner com.azure.resourcemanager.peering.fluent.models.PeerAsnInner object.
    Gets the name property: The name of the resource.
    Gets the peerAsn property: The Autonomous System Number (ASN) of the peer.
    Gets the peerContactDetail property: The contact details of the peer.
    Gets the peerName property: The name of the peer.
    Refreshes the resource to sync with Azure.
    refresh(com.azure.core.util.Context context)
    Refreshes the resource to sync with Azure.
    Gets the type property: The type of the resource.
    Begins update for the PeerAsn resource.
    Gets the validationState property: The validation state of the ASN associated with the peer.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • peerAsn

      Integer peerAsn()
      Gets the peerAsn property: The Autonomous System Number (ASN) of the peer.
      Returns:
      the peerAsn value.
    • peerContactDetail

      List<ContactDetail> peerContactDetail()
      Gets the peerContactDetail property: The contact details of the peer.
      Returns:
      the peerContactDetail value.
    • peerName

      String peerName()
      Gets the peerName property: The name of the peer.
      Returns:
      the peerName value.
    • validationState

      ValidationState validationState()
      Gets the validationState property: The validation state of the ASN associated with the peer.
      Returns:
      the validationState value.
    • errorMessage

      String errorMessage()
      Gets the errorMessage property: The error message for the validation state.
      Returns:
      the errorMessage value.
    • innerModel

      PeerAsnInner innerModel()
      Gets the inner com.azure.resourcemanager.peering.fluent.models.PeerAsnInner object.
      Returns:
      the inner object.
    • update

      PeerAsn.Update update()
      Begins update for the PeerAsn resource.
      Returns:
      the stage of resource update.
    • refresh

      PeerAsn refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      PeerAsn refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.