다음을 통해 공유


SupportsListingByRegion<T> Interface

Type Parameters

T

the fluent type of the resource

public interface SupportsListingByRegion<T>

Provides access to listing Azure resources of a specific type based on their region.

(Note: this interface is not intended to be implemented by user code)

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<T> listByRegion(Region region)

Lists all the resources of the specified type in the specified region.

abstract PagedIterable<T> listByRegion(String regionName)

List all the resources of the specified type in the specified region.

abstract PagedFlux<T> listByRegionAsync(Region region)

Lists all the resources of the specified type in the specified region.

abstract PagedFlux<T> listByRegionAsync(String regionName)

List all the resources of the specified type in the specified region.

Method Details

listByRegion

public abstract PagedIterable<T> listByRegion(Region region)

Lists all the resources of the specified type in the specified region.

Parameters:

region - the selected Azure region

Returns:

a PagedIterable<T> of resources

listByRegion

public abstract PagedIterable<T> listByRegion(String regionName)

List all the resources of the specified type in the specified region.

Parameters:

regionName - the name of an Azure region

Returns:

a PagedIterable<T> list of resources

listByRegionAsync

public abstract PagedFlux<T> listByRegionAsync(Region region)

Lists all the resources of the specified type in the specified region.

Parameters:

region - the selected Azure region

Returns:

a representation of the deferred computation of this call, returning the requested resources

listByRegionAsync

public abstract PagedFlux<T> listByRegionAsync(String regionName)

List all the resources of the specified type in the specified region.

Parameters:

regionName - the name of an Azure region

Returns:

a representation of the deferred computation of this call, returning the requested resources

Applies to