LegacyPeeringsClient Interface

public interface LegacyPeeringsClient

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

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<PeeringInner> list(String peeringLocation, LegacyPeeringsKind kind)

Lists all of the legacy peerings under the given subscription matching the specified kind and location.

abstract PagedIterable<PeeringInner> list(String peeringLocation, LegacyPeeringsKind kind, Integer asn, Context context)

Lists all of the legacy peerings under the given subscription matching the specified kind and location.

Method Details

list

public abstract PagedIterable<PeeringInner> list(String peeringLocation, LegacyPeeringsKind kind)

Lists all of the legacy peerings under the given subscription matching the specified kind and location.

Parameters:

peeringLocation - The location of the peering.
kind - The kind of the peering.

Returns:

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

list

public abstract PagedIterable<PeeringInner> list(String peeringLocation, LegacyPeeringsKind kind, Integer asn, Context context)

Lists all of the legacy peerings under the given subscription matching the specified kind and location.

Parameters:

peeringLocation - The location of the peering.
kind - The kind of the peering.
asn - The ASN number associated with a legacy peering.
context - The context to associate with this operation.

Returns:

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

Applies to