RegisteredAsns Interface

public interface RegisteredAsns

Resource collection API of RegisteredAsns.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new PeeringRegisteredAsn resource.

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 void deleteById(String id)

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

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

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 PeeringRegisteredAsn 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 PeeringRegisteredAsn getById(String id)

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

abstract Response<PeeringRegisteredAsn> getByIdWithResponse(String id, Context context)

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

abstract Response<PeeringRegisteredAsn> 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<PeeringRegisteredAsn> listByPeering(String resourceGroupName, String peeringName)

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

abstract PagedIterable<PeeringRegisteredAsn> listByPeering(String resourceGroupName, String peeringName, Context context)

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

Method Details

define

public abstract PeeringRegisteredAsn.DefinitionStages.Blank define(String name)

Begins definition for a new PeeringRegisteredAsn resource.

Parameters:

name - resource name.

Returns:

the first stage of the new PeeringRegisteredAsn definition.

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.

deleteById

public abstract void deleteById(String id)

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

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response deleteByIdWithResponse(String id, Context context)

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

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

deleteWithResponse

public abstract Response 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 PeeringRegisteredAsn 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.

getById

public abstract PeeringRegisteredAsn getById(String id)

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

Parameters:

id - the resource ID.

Returns:

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

getByIdWithResponse

public abstract Response getByIdWithResponse(String id, Context context)

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

Parameters:

id - the resource ID.
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>.

getWithResponse

public abstract Response 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 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 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