Share via


SupportsListingByRegion<T> Interface

Type Parameters

T

the fluent type of the resource

public interface SupportsListingByRegion

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 com.microsoft.azure.PagedList<T> listByRegion(Region region)

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

abstract com.microsoft.azure.PagedList<T> listByRegion(String regionName)

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

abstract rx.Observable<T> listByRegionAsync(Region region)

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

abstract rx.Observable<T> listByRegionAsync(String regionName)

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

Method Details

listByRegion

public abstract PagedList listByRegion(Region region)

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

Parameters:

region - the selected Azure region

Returns:

list of resources

listByRegion

public abstract PagedList listByRegion(String regionName)

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

Parameters:

regionName - the name of an Azure region

Returns:

list of resources

listByRegionAsync

public abstract Observable 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 Observable 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