Interface PeerAsn
public interface PeerAsn
An immutable client-side representation of PeerAsn.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the PeerAsn definition.static interfaceThe PeerAsn definition stages.static interfaceThe template for PeerAsn update.static interfaceThe PeerAsn update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets 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.name()Gets the name property: The name of the resource.peerAsn()Gets the peerAsn property: The Autonomous System Number (ASN) of the peer.Gets the peerContactDetail property: The contact details of the peer.peerName()Gets the peerName property: The name of the peer.refresh()Refreshes the resource to sync with Azure.refresh(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.type()Gets the type property: The type of the resource.update()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
Refreshes the resource to sync with Azure.- Parameters:
context- The context to associate with this operation.- Returns:
- the refreshed resource.
-