RegisteredPrefixesClient Interface

public interface RegisteredPrefixesClient

An instance of this class provides access to all the operations defined in RegisteredPrefixesClient.

Method Summary

Modifier and Type Method and Description
abstract PeeringRegisteredPrefixInner createOrUpdate(String resourceGroupName, String peeringName, String registeredPrefixName, PeeringRegisteredPrefixInner registeredPrefix)

Creates a new registered prefix with the specified name under the given subscription, resource group and peering.

abstract Response<PeeringRegisteredPrefixInner> createOrUpdateWithResponse(String resourceGroupName, String peeringName, String registeredPrefixName, PeeringRegisteredPrefixInner registeredPrefix, Context context)

Creates a new registered prefix with the specified name under the given subscription, resource group and peering.

abstract void delete(String resourceGroupName, String peeringName, String registeredPrefixName)

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

abstract Response<Void> deleteWithResponse(String resourceGroupName, String peeringName, String registeredPrefixName, Context context)

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

abstract PeeringRegisteredPrefixInner get(String resourceGroupName, String peeringName, String registeredPrefixName)

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

abstract Response<PeeringRegisteredPrefixInner> getWithResponse(String resourceGroupName, String peeringName, String registeredPrefixName, Context context)

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

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

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

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

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

Method Details

createOrUpdate

public abstract PeeringRegisteredPrefixInner createOrUpdate(String resourceGroupName, String peeringName, String registeredPrefixName, PeeringRegisteredPrefixInner registeredPrefix)

Creates a new registered prefix 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.
registeredPrefixName - The name of the registered prefix.
registeredPrefix - The properties needed to create a registered prefix.

Returns:

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

createOrUpdateWithResponse

public abstract Response<PeeringRegisteredPrefixInner> createOrUpdateWithResponse(String resourceGroupName, String peeringName, String registeredPrefixName, PeeringRegisteredPrefixInner registeredPrefix, Context context)

Creates a new registered prefix 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.
registeredPrefixName - The name of the registered prefix.
registeredPrefix - The properties needed to create a registered prefix.
context - The context to associate with this operation.

Returns:

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

delete

public abstract void delete(String resourceGroupName, String peeringName, String registeredPrefixName)

Deletes an existing registered prefix 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.
registeredPrefixName - The name of the registered prefix.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String peeringName, String registeredPrefixName, Context context)

Deletes an existing registered prefix 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.
registeredPrefixName - The name of the registered prefix.
context - The context to associate with this operation.

Returns:

get

public abstract PeeringRegisteredPrefixInner get(String resourceGroupName, String peeringName, String registeredPrefixName)

Gets an existing registered prefix 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.
registeredPrefixName - The name of the registered prefix.

Returns:

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

getWithResponse

public abstract Response<PeeringRegisteredPrefixInner> getWithResponse(String resourceGroupName, String peeringName, String registeredPrefixName, Context context)

Gets an existing registered prefix 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.
registeredPrefixName - The name of the registered prefix.
context - The context to associate with this operation.

Returns:

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

listByPeering

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

Lists all registered prefixes 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 prefixes as paginated response with PagedIterable<T>.

listByPeering

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

Lists all registered prefixes 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 prefixes as paginated response with PagedIterable<T>.

Applies to