RegisteredAsnsClient Interface
public interface RegisteredAsnsClient
An instance of this class provides access to all the operations defined in RegisteredAsnsClient.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Peering |
createOrUpdate(String resourceGroupName, String peeringName, String registeredAsnName, PeeringRegisteredAsnInner registeredAsn)
Creates a new registered ASN with the specified name under the given subscription, resource group and peering. |
|
abstract
Response<Peering |
createOrUpdateWithResponse(String resourceGroupName, String peeringName, String registeredAsnName, PeeringRegisteredAsnInner registeredAsn, Context context)
Creates a new registered ASN with the specified name under the given subscription, resource group and peering. |
| abstract void |
delete(String resourceGroupName, String peeringName, String registeredAsnName)
Deletes an existing registered ASN with the specified name under the given subscription, resource group and peering. |
| abstract Response<Void> |
deleteWithResponse(String resourceGroupName, String peeringName, String registeredAsnName, Context context)
Deletes an existing registered ASN with the specified name under the given subscription, resource group and peering. |
|
abstract
Peering |
get(String resourceGroupName, String peeringName, String registeredAsnName)
Gets an existing registered ASN with the specified name under the given subscription, resource group and peering. |
|
abstract
Response<Peering |
getWithResponse(String resourceGroupName, String peeringName, String registeredAsnName, Context context)
Gets an existing registered ASN with the specified name under the given subscription, resource group and peering. |
|
abstract
Paged |
listByPeering(String resourceGroupName, String peeringName)
Lists all registered ASNs under the given subscription, resource group and peering. |
|
abstract
Paged |
listByPeering(String resourceGroupName, String peeringName, Context context)
Lists all registered ASNs under the given subscription, resource group and peering. |
Method Details
createOrUpdate
public abstract PeeringRegisteredAsnInner createOrUpdate(String resourceGroupName, String peeringName, String registeredAsnName, PeeringRegisteredAsnInner registeredAsn)
Creates a new registered ASN with the specified name under the given subscription, resource group and peering.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response<PeeringRegisteredAsnInner> createOrUpdateWithResponse(String resourceGroupName, String peeringName, String registeredAsnName, PeeringRegisteredAsnInner registeredAsn, Context context)
Creates a new registered ASN with the specified name under the given subscription, resource group and peering.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String peeringName, String registeredAsnName)
Deletes an existing registered ASN with the specified name under the given subscription, resource group and peering.
Parameters:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String resourceGroupName, String peeringName, String registeredAsnName, Context context)
Deletes an existing registered ASN with the specified name under the given subscription, resource group and peering.
Parameters:
Returns:
get
public abstract PeeringRegisteredAsnInner get(String resourceGroupName, String peeringName, String registeredAsnName)
Gets an existing registered ASN with the specified name under the given subscription, resource group and peering.
Parameters:
Returns:
getWithResponse
public abstract Response<PeeringRegisteredAsnInner> getWithResponse(String resourceGroupName, String peeringName, String registeredAsnName, Context context)
Gets an existing registered ASN with the specified name under the given subscription, resource group and peering.
Parameters:
Returns:
listByPeering
public abstract PagedIterable<PeeringRegisteredAsnInner> listByPeering(String resourceGroupName, String peeringName)
Lists all registered ASNs under the given subscription, resource group and peering.
Parameters:
Returns:
listByPeering
public abstract PagedIterable<PeeringRegisteredAsnInner> listByPeering(String resourceGroupName, String peeringName, Context context)
Lists all registered ASNs under the given subscription, resource group and peering.
Parameters:
Returns: