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 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.

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.

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 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.

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.

abstract PagedIterable<PeeringRegisteredAsnInner> listByPeering(String resourceGroupName, String peeringName)

Lists all registered ASNs under the given subscription, resource group and peering.

abstract PagedIterable<PeeringRegisteredAsnInner> 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:

resourceGroupName - The name of the resource group.
peeringName - The name of the peering.
registeredAsnName - The name of the ASN.
registeredAsn - The properties needed to create a registered ASN.

Returns:

the customer's ASN that is registered by the peering service provider.

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:

resourceGroupName - The name of the resource group.
peeringName - The name of the peering.
registeredAsnName - The name of the ASN.
registeredAsn - The properties needed to create a registered ASN.
context - The context to associate with this operation.

Returns:

the customer's ASN that is registered by the peering service provider along with Response<T>.

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:

resourceGroupName - The name of the resource group.
peeringName - The name of the peering.
registeredAsnName - The name of the registered ASN.

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:

resourceGroupName - The name of the resource group.
peeringName - The name of the peering.
registeredAsnName - The name of the registered ASN.
context - The context to associate with this operation.

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:

resourceGroupName - The name of the resource group.
peeringName - The name of the peering.
registeredAsnName - The name of the registered ASN.

Returns:

an existing registered ASN with the specified name under the given subscription, resource group and peering.

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:

resourceGroupName - The name of the resource group.
peeringName - The name of the peering.
registeredAsnName - The name of the registered ASN.
context - The context to associate with this operation.

Returns:

an existing registered ASN with the specified name under the given subscription, resource group and peering along with Response<T>.

listByPeering

public abstract PagedIterable<PeeringRegisteredAsnInner> listByPeering(String resourceGroupName, String peeringName)

Lists all registered ASNs under the given subscription, resource group and peering.

Parameters:

resourceGroupName - The name of the resource group.
peeringName - The name of the peering.

Returns:

the paginated list of peering registered ASNs as paginated response with PagedIterable<T>.

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:

resourceGroupName - The name of the resource group.
peeringName - The name of the peering.
context - The context to associate with this operation.

Returns:

the paginated list of peering registered ASNs as paginated response with PagedIterable<T>.

Applies to