PrefixesClient Interface

public interface PrefixesClient

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

Method Summary

Modifier and Type Method and Description
abstract PeeringServicePrefixInner createOrUpdate(String resourceGroupName, String peeringServiceName, String prefixName, PeeringServicePrefixInner peeringServicePrefix)

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

abstract Response<PeeringServicePrefixInner> createOrUpdateWithResponse(String resourceGroupName, String peeringServiceName, String prefixName, PeeringServicePrefixInner peeringServicePrefix, Context context)

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

abstract void delete(String resourceGroupName, String peeringServiceName, String prefixName)

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

abstract Response<Void> deleteWithResponse(String resourceGroupName, String peeringServiceName, String prefixName, Context context)

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

abstract PeeringServicePrefixInner get(String resourceGroupName, String peeringServiceName, String prefixName)

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

abstract Response<PeeringServicePrefixInner> getWithResponse(String resourceGroupName, String peeringServiceName, String prefixName, String expand, Context context)

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

abstract PagedIterable<PeeringServicePrefixInner> listByPeeringService(String resourceGroupName, String peeringServiceName)

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

abstract PagedIterable<PeeringServicePrefixInner> listByPeeringService(String resourceGroupName, String peeringServiceName, String expand, Context context)

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

Method Details

createOrUpdate

public abstract PeeringServicePrefixInner createOrUpdate(String resourceGroupName, String peeringServiceName, String prefixName, PeeringServicePrefixInner peeringServicePrefix)

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

Parameters:

resourceGroupName - The name of the resource group.
peeringServiceName - The name of the peering service.
prefixName - The name of the prefix.
peeringServicePrefix - The properties needed to create a prefix.

Returns:

the peering service prefix class.

createOrUpdateWithResponse

public abstract Response<PeeringServicePrefixInner> createOrUpdateWithResponse(String resourceGroupName, String peeringServiceName, String prefixName, PeeringServicePrefixInner peeringServicePrefix, Context context)

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

Parameters:

resourceGroupName - The name of the resource group.
peeringServiceName - The name of the peering service.
prefixName - The name of the prefix.
peeringServicePrefix - The properties needed to create a prefix.
context - The context to associate with this operation.

Returns:

the peering service prefix class along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String peeringServiceName, String prefixName)

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

Parameters:

resourceGroupName - The name of the resource group.
peeringServiceName - The name of the peering service.
prefixName - The name of the prefix.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String peeringServiceName, String prefixName, Context context)

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

Parameters:

resourceGroupName - The name of the resource group.
peeringServiceName - The name of the peering service.
prefixName - The name of the prefix.
context - The context to associate with this operation.

Returns:

get

public abstract PeeringServicePrefixInner get(String resourceGroupName, String peeringServiceName, String prefixName)

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

Parameters:

resourceGroupName - The name of the resource group.
peeringServiceName - The name of the peering service.
prefixName - The name of the prefix.

Returns:

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

getWithResponse

public abstract Response<PeeringServicePrefixInner> getWithResponse(String resourceGroupName, String peeringServiceName, String prefixName, String expand, Context context)

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

Parameters:

resourceGroupName - The name of the resource group.
peeringServiceName - The name of the peering service.
prefixName - The name of the prefix.
expand - The properties to be expanded.
context - The context to associate with this operation.

Returns:

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

listByPeeringService

public abstract PagedIterable<PeeringServicePrefixInner> listByPeeringService(String resourceGroupName, String peeringServiceName)

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

Parameters:

resourceGroupName - The name of the resource group.
peeringServiceName - The name of the peering service.

Returns:

the paginated list of peering service prefixes as paginated response with PagedIterable<T>.

listByPeeringService

public abstract PagedIterable<PeeringServicePrefixInner> listByPeeringService(String resourceGroupName, String peeringServiceName, String expand, Context context)

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

Parameters:

resourceGroupName - The name of the resource group.
peeringServiceName - The name of the peering service.
expand - The properties to be expanded.
context - The context to associate with this operation.

Returns:

the paginated list of peering service prefixes as paginated response with PagedIterable<T>.

Applies to