PeerAsnsClient Interface
public interface PeerAsnsClient
An instance of this class provides access to all the operations defined in PeerAsnsClient.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Peer |
createOrUpdate(String peerAsnName, PeerAsnInner peerAsn)
Creates a new peer ASN or updates an existing peer ASN with the specified name under the given subscription. |
|
abstract
Response<Peer |
createOrUpdateWithResponse(String peerAsnName, PeerAsnInner peerAsn, Context context)
Creates a new peer ASN or updates an existing peer ASN with the specified name under the given subscription. |
| abstract void |
delete(String peerAsnName)
Deletes an existing peer ASN with the specified name under the given subscription. |
| abstract Response<Void> |
deleteWithResponse(String peerAsnName, Context context)
Deletes an existing peer ASN with the specified name under the given subscription. |
|
abstract
Peer |
get(String peerAsnName)
Gets the peer ASN with the specified name under the given subscription. |
|
abstract
Response<Peer |
getWithResponse(String peerAsnName, Context context)
Gets the peer ASN with the specified name under the given subscription. |
|
abstract
Paged |
list()
Lists all of the peer ASNs under the given subscription. |
|
abstract
Paged |
list(Context context)
Lists all of the peer ASNs under the given subscription. |
Method Details
createOrUpdate
public abstract PeerAsnInner createOrUpdate(String peerAsnName, PeerAsnInner peerAsn)
Creates a new peer ASN or updates an existing peer ASN with the specified name under the given subscription.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response<PeerAsnInner> createOrUpdateWithResponse(String peerAsnName, PeerAsnInner peerAsn, Context context)
Creates a new peer ASN or updates an existing peer ASN with the specified name under the given subscription.
Parameters:
Returns:
delete
public abstract void delete(String peerAsnName)
Deletes an existing peer ASN with the specified name under the given subscription.
Parameters:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String peerAsnName, Context context)
Deletes an existing peer ASN with the specified name under the given subscription.
Parameters:
Returns:
get
public abstract PeerAsnInner get(String peerAsnName)
Gets the peer ASN with the specified name under the given subscription.
Parameters:
Returns:
getWithResponse
public abstract Response<PeerAsnInner> getWithResponse(String peerAsnName, Context context)
Gets the peer ASN with the specified name under the given subscription.
Parameters:
Returns:
list
public abstract PagedIterable<PeerAsnInner> list()
Lists all of the peer ASNs under the given subscription.
Returns:
list
public abstract PagedIterable<PeerAsnInner> list(Context context)
Lists all of the peer ASNs under the given subscription.
Parameters:
Returns: