PeeringsClient Interface

public interface PeeringsClient

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

Method Summary

Modifier and Type Method and Description
abstract PeeringInner createOrUpdate(String resourceGroupName, String peeringName, PeeringInner peering)

Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group.

abstract Response<PeeringInner> createOrUpdateWithResponse(String resourceGroupName, String peeringName, PeeringInner peering, Context context)

Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group.

abstract void delete(String resourceGroupName, String peeringName)

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

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

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

abstract PeeringInner getByResourceGroup(String resourceGroupName, String peeringName)

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

abstract Response<PeeringInner> getByResourceGroupWithResponse(String resourceGroupName, String peeringName, Context context)

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

abstract PagedIterable<PeeringInner> list()

Lists all of the peerings under the given subscription.

abstract PagedIterable<PeeringInner> list(Context context)

Lists all of the peerings under the given subscription.

abstract PagedIterable<PeeringInner> listByResourceGroup(String resourceGroupName)

Lists all of the peerings under the given subscription and resource group.

abstract PagedIterable<PeeringInner> listByResourceGroup(String resourceGroupName, Context context)

Lists all of the peerings under the given subscription and resource group.

abstract PeeringInner update(String resourceGroupName, String peeringName, ResourceTags tags)

Updates tags for a peering with the specified name under the given subscription and resource group.

abstract Response<PeeringInner> updateWithResponse(String resourceGroupName, String peeringName, ResourceTags tags, Context context)

Updates tags for a peering with the specified name under the given subscription and resource group.

Method Details

createOrUpdate

public abstract PeeringInner createOrUpdate(String resourceGroupName, String peeringName, PeeringInner peering)

Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group.

Parameters:

resourceGroupName - The name of the resource group.
peeringName - The name of the peering.
peering - The properties needed to create or update a peering.

Returns:

peering is a logical representation of a set of connections to the Microsoft Cloud Edge at a location.

createOrUpdateWithResponse

public abstract Response<PeeringInner> createOrUpdateWithResponse(String resourceGroupName, String peeringName, PeeringInner peering, Context context)

Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group.

Parameters:

resourceGroupName - The name of the resource group.
peeringName - The name of the peering.
peering - The properties needed to create or update a peering.
context - The context to associate with this operation.

Returns:

peering is a logical representation of a set of connections to the Microsoft Cloud Edge at a location along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String peeringName)

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

Parameters:

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

deleteWithResponse

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

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

Parameters:

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

Returns:

getByResourceGroup

public abstract PeeringInner getByResourceGroup(String resourceGroupName, String peeringName)

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

Parameters:

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

Returns:

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

getByResourceGroupWithResponse

public abstract Response<PeeringInner> getByResourceGroupWithResponse(String resourceGroupName, String peeringName, Context context)

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

Parameters:

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

Returns:

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

list

public abstract PagedIterable<PeeringInner> list()

Lists all of the peerings under the given subscription.

Returns:

the paginated list of peerings as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<PeeringInner> list(Context context)

Lists all of the peerings under the given subscription.

Parameters:

context - The context to associate with this operation.

Returns:

the paginated list of peerings as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<PeeringInner> listByResourceGroup(String resourceGroupName)

Lists all of the peerings under the given subscription and resource group.

Parameters:

resourceGroupName - The name of the resource group.

Returns:

the paginated list of peerings as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<PeeringInner> listByResourceGroup(String resourceGroupName, Context context)

Lists all of the peerings under the given subscription and resource group.

Parameters:

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

Returns:

the paginated list of peerings as paginated response with PagedIterable<T>.

update

public abstract PeeringInner update(String resourceGroupName, String peeringName, ResourceTags tags)

Updates tags for a peering with the specified name under the given subscription and resource group.

Parameters:

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

Returns:

peering is a logical representation of a set of connections to the Microsoft Cloud Edge at a location.

updateWithResponse

public abstract Response<PeeringInner> updateWithResponse(String resourceGroupName, String peeringName, ResourceTags tags, Context context)

Updates tags for a peering with the specified name under the given subscription and resource group.

Parameters:

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

Returns:

peering is a logical representation of a set of connections to the Microsoft Cloud Edge at a location along with Response<T>.

Applies to